LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-14-2003, 03:07 PM   #1
netghost
LQ Newbie
 
Registered: Feb 2003
Location: Sweden
Distribution: SUSE 9.1
Posts: 6

Rep: Reputation: 0
DHCP, switching from Windows to Linux


When I log into windows, I automatically have a new DHCP lease from my ISP, and can log in normally (I have a broadband connection). But when I have logged into windows and decides to switch to Linux, I need to wait for the lease to expire to be able to log in again (usually about 30-40 minutes).

Eg. When I start Linux, Eth0 responds [FAILED], but if I wait 30-40 minutes and tries to get online using $ IFUP Eth0, it works fine.
Any ideas how to renew the dhcp lease at startup when switching O/S?
 
Old 02-14-2003, 03:22 PM   #2
rodeoclown
Member
 
Registered: Feb 2003
Posts: 44

Rep: Reputation: 15
Before logging off Windows have you tried to release it manually, then boot into Linux and see if you attain a new IP at bootup ?

Sounds like its more of a problem with your ISP than with your machine though.
 
Old 02-14-2003, 03:29 PM   #3
netghost
LQ Newbie
 
Registered: Feb 2003
Location: Sweden
Distribution: SUSE 9.1
Posts: 6

Original Poster
Rep: Reputation: 0
nope, haven't tried that..

just thought there was another way, cause most of the times you don't remember to release it, and you're getting used to windows doing it for you
 
Old 02-14-2003, 05:02 PM   #4
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
I have the same problem with my ISP. I contacted them about this and they said my lease is 10 hours ! I had tried everything: manually releasing IP in windows, ifconfig eth0 down, ifconfig eth0 up, I reset my cable modem (which, BTW, if you switch from you win box to your Linux box, you'll have to reset the modem as it's sending to a different NIC), etc.

My ISP told me that if I need the IP released earlier than the 10 hour lease time that I just give them a call and ask them to release the IP and the MAC address of my cable modem. I would then unplug the power to my cable modem for a few seconds, hook up my ethernet cable to my NIC, power on the modem, and all is well.

However, I've alleviated that problem by never putting my wife's Winbox online. She was desperate to get online one night, so I walked her through logging in from command line and startx. She'd never used Linux before, and had never seen Opera. During my 9 months of running Linux exclusively on my machine, she never wanted to use it or even see it. She now has a user account and thinks that Tux is the cutest thing to grace the planet (besides me of course ). She played around in my user account for 5 hours that night and is in love with the Gimp. In fact, she hasn't used her Winbox since I introduced her to Linux 2.5 weeks ago.

Sorry, that was a bit off topic, but I find it an amusing anecdote to my solution to the IP lease problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Switching from Windows to Linux Fritz_Monroe Linux - General 3 11-07-2005 08:23 AM
Help switching from Static IP to DHCP on Redhat Linux 9 asilentmurmur Linux - Networking 8 08-16-2005 09:08 PM
Switching from Windows XP to Linux, please help! dactivist Linux - Newbie 7 08-20-2004 08:46 PM
Switching over to linux. (from windows :P) jd5419 Linux - Software 3 01-28-2004 09:36 PM
Switching from Linux to Windows XP on a partitioned hd ciphergod Linux - Software 7 06-21-2003 12:19 AM


All times are GMT -5. The time now is 01:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration