Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-21-2005, 10:23 PM
|
#1
|
LQ Newbie
Registered: Nov 2005
Location: Brisbane, Australia
Distribution: FC6
Posts: 20
Rep:
|
No network until router reboots
I have the following setup:
DLink DI-624 router (192.168.0.1)
WinXP Laptop wireless network (ip address via DHCP)
Win2000 Desktop (fixed 192.168.0.201)
Linux (FC4) Desktop (fixed 192.168.0.202)
Both desktops are cabled via ethernet to the router and have ip addresses outside the DHCP range of the router. The Win2K box works fine and connects to the outside world without a problem.
My linux box however, cannot ping anything (even the router 192.168.0.1) when it boots up. If I then reboot the router, the linux box is all fine and good and I can see everything on the network and get out to the internet.
Surely I shouldn't have to restart my router everytime I restart the linux box!?
Heres some config from the linux box:
[root@linux-box ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
BROADCAST=192.168.0.255
HWADDR=00:60:67:30:F9:13
IPADDR=192.168.0.202
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=yes
GATEWAY=192.168.0.1
IPV6INIT=no
[root@linux-box etc]# cat resolv.conf
nameserver 192.168.0.1
[root@linux-box etc]# ip addr show
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:60:67:30:f9:13 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.202/24 brd 192.168.0.255 scope global eth0
inet6 fe80::260:67ff:fe30:f913/64 scope link
valid_lft forever preferred_lft forever
3: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
[root@linux-box etc]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
[root@linux-box etc]# arp
Address HWType HWaddress Flags Mask Iface
192.168.0.1 (incomplete) eth0
..and then after I reboot the router...
[root@linux-box etc]# arp
Address HWType HWaddress Flags Mask Iface
192.168.0.1 ether 00:0D:88:8E:08:C3 C eth0
Have I configured something wrong? Is it a simple change to a .conf file to fix the problem - or is this a fault with the Ethernet card (its an old "DEC 10/100 FastEthernet PCI" I had lying around ).
Any ideas would be gratefully received!
|
|
|
11-22-2005, 02:41 AM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291
Rep:
|
FC4 has a SELinux security setting I have heard a lot of problems people are experencing if this is enabled, have you enabled it? if it is enabled maybe try turning it off and see if that helps
That's about all I can think off, eveything else seems to be right
|
|
|
11-22-2005, 03:09 AM
|
#3
|
LQ Newbie
Registered: Nov 2005
Location: Brisbane, Australia
Distribution: FC6
Posts: 20
Original Poster
Rep:
|
Quote:
Originally posted by fotoguy
FC4 has a SELinux security setting I have heard a lot of problems people are experencing if this is enabled, have you enabled it? if it is enabled maybe try turning it off and see if that helps
|
Thanks for looking - but I disabled that setting when I installed the FC4 (although I dont know where to look now to verify that!)
|
|
|
11-22-2005, 03:59 AM
|
#4
|
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291
Rep:
|
If you disabled it during installation then it's not on, i'm not at my fc4 box at the moment so I could tell how to checkit.
|
|
|
11-22-2005, 11:31 PM
|
#5
|
LQ Newbie
Registered: Nov 2005
Location: Brisbane, Australia
Distribution: FC6
Posts: 20
Original Poster
Rep:
|
Anyone else have any suggestions as to how to proceed?
Should I just grab a different Ethernet card and see if the problem still occurs?
..or does this sound more like a configuration issue?
I'm completely stuck here!
Thanks
|
|
|
11-23-2005, 05:31 PM
|
#6
|
LQ Newbie
Registered: Nov 2005
Location: Brisbane, Australia
Distribution: FC6
Posts: 20
Original Poster
Rep:
|
I borrowed a Ethernet card from someone yesterday and popped it into my machine to see if it made any difference.
It worked first time - I just added it in as 'eth1' and enabled it and then disabled the old "eth0" card.
Only logical conclusion is that the old card is stuffed!..
I now consider the matter closed!
|
|
|
All times are GMT -5. The time now is 10:55 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|