Page 1 of 1

Internet lease

PostPosted: Sun Feb 26, 2012 12:50 pm
by billhedrick
I have a nasty thing that occurs in my 2.6.1 and 2.6.3 installs. I try to run either one 24/7 but can't because somehow the internet connection drops intermittently. I have had to restart the PC to get reconnected. Thinking about this, I think that if I could renew the connection/lease without restarting that would make life a lot easier. Any ideas?

Re: Internet lease

PostPosted: Mon Feb 27, 2012 10:39 am
by billhedrick
thanks, will try that next drop

Re: Internet lease

PostPosted: Mon Feb 27, 2012 11:33 pm
by billhedrick
ok I cut and pasted that into terminal and it didn't work. I suspect that the restart command wasn't recognized, maybe the syntax is wrong

Re: Internet lease

PostPosted: Tue Feb 28, 2012 12:13 am
by billhedrick
yea, that makes sense

Re: Internet lease

PostPosted: Tue Feb 28, 2012 10:19 am
by billhedrick
... except it didn't work. I tried the command from the destkop and then went to the folder, opened a terminal and entered
Code: Select all
sudo networing start

that didn't work. Then I tried
Code: Select all
sudo start networking

In all cases it didn't recognize the command "start" I did a little digging in the folder, and followed up to the /lib folder to see if I could start it there and nothing worked. More research seems to be needed.

found this with googling http://brainstorm.ubuntu.com/idea/15
hmmmm will try this
Code: Select all
#!/bin/sh
sudo /etc/init.d/networking restart; sudo dhclient