LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 02-19-2005, 07: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, 03:29 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,344

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
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, 05: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, 05:27 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,344

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
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, 12: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, 07: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, 12: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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
release ip windowsdownAGAIN Linux - Networking 10 01-05-2009 10:22 PM
SUSE Release 10 RC1 Release Candidate 1 available 1kyle Suse/Novell 8 09-11-2005 06:26 PM
Release IP gordongraham Linux - Networking 4 06-23-2005 02:57 PM
Next release? vi0lat0r Slackware 14 04-06-2004 05:28 PM


All times are GMT -5. The time now is 08:24 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration