LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-21-2005, 10:23 PM   #1
MythN00b
LQ Newbie
 
Registered: Nov 2005
Location: Brisbane, Australia
Distribution: FC6
Posts: 20

Rep: Reputation: 0
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!
 
Old 11-22-2005, 02:41 AM   #2
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
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
 
Old 11-22-2005, 03:09 AM   #3
MythN00b
LQ Newbie
 
Registered: Nov 2005
Location: Brisbane, Australia
Distribution: FC6
Posts: 20

Original Poster
Rep: Reputation: 0
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!)
 
Old 11-22-2005, 03:59 AM   #4
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
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.
 
Old 11-22-2005, 11:31 PM   #5
MythN00b
LQ Newbie
 
Registered: Nov 2005
Location: Brisbane, Australia
Distribution: FC6
Posts: 20

Original Poster
Rep: Reputation: 0
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
 
Old 11-23-2005, 05:31 PM   #6
MythN00b
LQ Newbie
 
Registered: Nov 2005
Location: Brisbane, Australia
Distribution: FC6
Posts: 20

Original Poster
Rep: Reputation: 0
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!
 
  


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
Do I need to be on a network to use a router? habala Linux - Networking 6 01-26-2005 02:01 AM
Home network setup with network firewall/router Gates1026 Linux - Networking 4 01-17-2005 09:26 PM
Network speed problems on 15 user network to broadband wireless router AntWarrior Linux - Wireless Networking 2 12-02-2004 12:05 PM
Fwall/Router Network Appliance vs. stock mdk9 Fwall/Router box jqpdev Linux - Networking 2 02-28-2003 08:19 AM
Network without router doogie1988 Linux - Networking 1 01-02-2003 10:42 PM

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

All times are GMT -5. The time now is 10:55 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