LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-19-2005, 08:07 AM   #1
xamenos
LQ Newbie
 
Registered: Feb 2005
Location: Cyprus
Distribution: Mandrake
Posts: 12

Rep: Reputation: 0
Release IP


many of us are dual booting linux and windows right?

Well I have an adsl connection with a static IP... I logged into windows, released IP using IPconfig, booted into Mandrake, and Mandrake gets the IP from DHCP...

Now my problem:
How can I release the IP from Linux?
I used the ifdown eth0 but when I booted into Windows I had a blocked IP...
I need a way to release my IP from Linux...

Anyone?

thanks
 
Old 02-19-2005, 04:29 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ifdown will remove that ip, not really sure what you're looking for... if you just want to set that static IP within Linux as well as Windows, then try opening the mandrake control center and changing the ethernet type from dhcp to static and enter the details.
 
Old 02-19-2005, 06:22 PM   #3
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
There is no reason to "release" the IP if you are maintaining the same connection (e.g. using the same interface) on Windows as you do in Linux.

ISP's allocate IP's based upon the mac address of the connecting interface.

Since the MAC remains the same under both OS's, each you get back the same IP and work w/o forcing you to re-init the modem.

I do this all the time.
 
Old 02-19-2005, 06:27 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well yes, that's normally the logic. but if it's not working it's not working.... and the MAC presumably isn't being involved if the guy's literally got an IP on a piece of paper...
 
Old 02-20-2005, 01:11 AM   #5
RoofRabbit
Member
 
Registered: Mar 2004
Location: Lenoir, NC USA
Distribution: Mandrake 10.2
Posts: 129

Rep: Reputation: 15
I agree, since it's a static IP, don't use the DHCP, just enter the same IP address for both windows and linux manually. I've had mine setup that way for years since windows and linux aren't running at the same time (running vmware is a different story).
 
Old 02-20-2005, 08:43 AM   #6
xamenos
LQ Newbie
 
Registered: Feb 2005
Location: Cyprus
Distribution: Mandrake
Posts: 12

Original Poster
Rep: Reputation: 0
OK... I used the ifdown eth0 command in Linux yesterday (before reading your posts)...
Booted into windows and set the Ip manually... Now i am trying to boot into linux but there is no GUI...
Reboot...
Mandrake booting, ESC in verbose mode... THere seems to be problem...

It says
bringing up interface eth0 [ok]
bringing up interface ppp0 [failed]
assigning raw devices: cannot open master raw device "/dev/rawctl (no such device)
...
..

Starting ADSL .......

And it boots into terminal...
There seems to be a problem here... I typed init 5 but nothing happens
 
Old 02-20-2005, 01:19 PM   #7
xamenos
LQ Newbie
 
Registered: Feb 2005
Location: Cyprus
Distribution: Mandrake
Posts: 12

Original Poster
Rep: Reputation: 0
SOlved it...
The problem wasn't at the ADSL... But with nvidia drivers...
I used the startx command and i realised that the error wasn't with the adsl service but the nvidia drivers weren't initializing... CHecked the logs that gave me, and in the I had to change an entry in /etc/modprobe.preload ... via-agp had to be renamed into nvidia... That solved it... Now I see the Nvidia logo when madrake starts...
tHanks for your help
 
  


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
release ip windowsdownAGAIN Linux - Networking 10 01-05-2009 11:22 PM
SUSE Release 10 RC1 Release Candidate 1 available 1kyle SUSE / openSUSE 8 09-11-2005 07:26 PM
Release IP gordongraham Linux - Networking 4 06-23-2005 03:57 PM
Next release? vi0lat0r Slackware 14 04-06-2004 06:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:20 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
Open Source Consulting | Domain Registration