LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-15-2009, 04:33 PM   #1
GeorgeOl
LQ Newbie
 
Registered: May 2009
Posts: 4

Rep: Reputation: 0
Unhappy can't get my laptop to restart with a static IP address with Fedora 7


I have modified the network files ifcfg-eth0 and network so that I can have a static ip, but everytime I restart the pc, it comes up with a dynamic IP that it takes from a DHCP server deleting all the configuration previously built in my file ifcfg-eth0.

I changed the names of the files /sbin/dhclient and dhclient-scripts but it still comes up with the dynamic IP.

This is the configuration I built in the ifcfg-eth0 file.

[root@george network-scripts]# more ifcfg-eth0
# nVidia Corporation Unknown device 054c
DEVICE=eth0
ONBOOT=yes
IPADDR=192.168.1.90
NETMASK=255.255.255.0
BOOTPROTO=static
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
HWADDR=00:00:6c:60:79:fb
[root@george network-scripts]#
[root@george network-scripts]# more ../network
NETWORKING=yes
HOSTNAME=george.labs.per
DOMAINNAME=labs.per
GATEWAY=192.168.1.254
[root@george network-scripts]#

This is the configuration it takes after restarting the PC
[root@george network-scripts]# more ifcfg-eth0
# nVidia Corporation Unknown device 054c
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp
HWADDR=00:00:6c:04:a4:fd

What is even weirder is that it takes an ipv6 IP and the MAC Address changes with every reboot.

[root@george network-scripts]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:00:6C:04:A4:FD
inet6 addr: fe80::200:6cff:fe04:a4fd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:847 errors:0 dropped:0 overruns:0 frame:0
TX packets:435 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:211483 (206.5 KiB) TX bytes:74877 (73.1 KiB)
Interrupt:22 Base address:0xe000

I don't know what to do. I can use some help here. Thanks a lot!
 
Old 05-15-2009, 04:43 PM   #2
senseproof
Member
 
Registered: May 2009
Distribution: Fedora 10
Posts: 31
Blog Entries: 5

Rep: Reputation: 16
Run the system-config-network command and set up the configuration from there.
 
Old 05-15-2009, 05:01 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
and i was wondering why fedora 7 there have been no updates for a year( well 11 months) it is past EOL
 
Old 05-15-2009, 05:44 PM   #4
GeorgeOl
LQ Newbie
 
Registered: May 2009
Posts: 4

Original Poster
Rep: Reputation: 0
uhmm

yeah.. you may have a point. Fedora is EOL, I think all the netwoking stuffs haven't changet at all right
 
Old 05-15-2009, 07:05 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
the Network " stuff" has changed A LOT since f7 fedora 10 and 11 do not use the "network" service( it can but not the default) it uses "networkmanager" and it is VERY good on laptops with wireless , or wired connections
 
Old 05-17-2009, 02:39 PM   #6
GeorgeOl
LQ Newbie
 
Registered: May 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Working

I've upgraded to F10 and it's working fine now. Thanks for the help.
 
  


Reply



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
can't get my laptop to restart with a static IP address with Fedora 7 GeorgeOl Linux - Newbie 1 05-15-2009 05:02 PM
Problem in saving Static IP address in Fedora 10 (LFY) vsayanam Linux - Newbie 3 01-13-2009 03:01 AM
Set IP address to static from DHCP assigned address jborn Linux - Networking 4 02-02-2007 08:38 PM
[SOLVED] Converting static IP-address to dynamic IP-address Blue_Ice Linux - Networking 3 07-20-2006 03:35 AM
Static IP Address bytebrowser Linux - Networking 14 06-16-2003 06:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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