The Following 9 Users Say Thank You to Bad_Habit For This Useful Post: | ||
|
2011-12-15
, 18:48
|
Posts: 28 |
Thanked: 17 times |
Joined on Feb 2011
@ Barbados
|
#2
|
|
2011-12-16
, 01:13
|
Posts: 19 |
Thanked: 9 times |
Joined on Jun 2011
|
#3
|
did this followed your steps now i cant apt-get anything FAPMAN or APPMAN dont work
i even uninstalled openssh
thanx alot! now i gotta reflash
|
2011-12-16
, 02:01
|
Posts: 28 |
Thanked: 17 times |
Joined on Feb 2011
@ Barbados
|
#4
|
It works fine for me. thanks Bad_Habit!
But T4UR14N, whatever your problem is, it has nothing to do with what was posted: there is nothing there that interacts with apt.
Possibly you put a horrendous typo into something in /etc/network/if-up.d/ and now you cant get a net connection??
You could avoid these sorts of problems generally by not duplicating other peoples' operating system modifications until you can reasonably understand what those changes are.
Commands that start with "sudo", or that modify files in /etc or /usr should sound off warning bells in your head.
On the other hand, breaking your linux system can be a great way to learn about it -- just understand that when you do, it will be your own fault!!
(These steps can be mostly undone by just doing them in reverse, that is, remove the 4 NEW files that you created,
Then to fix sshd, remove the 2 new # marks from /etc/event.d/sshd, and get rid of any lines added to /etc/ssh/sshd_config,
then the knowledgeable or brave soul would have to do
sudo update-rc.d -f ssh defaults)
|
2011-12-16
, 03:03
|
Posts: 48 |
Thanked: 32 times |
Joined on Dec 2010
@ Russia, Moscow
|
#5
|
Put these lines in your /etc/ssh/sshd_config
Then run
The 20 seconds timeout for invoking iwconfig isn't meant to be precise, test and report your measures.
---------------------------
If you use ssh server only at home, you may also want to do this:
Create /etc/network/if-up.d/ssh (replace YOUR_AP_ESSID with the name of your access point)
Last edited by Bad_Habit; 2011-12-06 at 13:26.