LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-20-2005, 11:42 AM   #1
piyushiitk
Member
 
Registered: Jul 2004
Location: kanpur, india
Distribution: Fedora Core 4
Posts: 31

Rep: Reputation: 15
Unhappy network settings...


hi,
My pc config: P4 2.8HT, 512MB RAM, 120GB, realtek RTL8139 lan card.
Dual boot: Win XP/ Fedora 4
problem is- in windows, network is working but no matter what linux install--i can't get my network up. i have tried FC4, FC2, knoppix and using the same settings as in windows ie gateway address, etc.

output of 'ifconfig etho'
--------
eth0 Link encap:Ethernet HWaddr 00:C0:26:86:3D:E2
inet addr:172.26.117.62 Bcast:172.26.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0xc00
------
what could be the possible problem?
 
Old 10-20-2005, 12:34 PM   #2
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
According to your post, the network is up:

Quote:
inet addr:172.26.117.62 Bcast:172.26.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

What exactly is the problem?
 
Old 10-20-2005, 01:50 PM   #3
piyushiitk
Member
 
Registered: Jul 2004
Location: kanpur, india
Distribution: Fedora Core 4
Posts: 31

Original Poster
Rep: Reputation: 15
i can not ping any pc in the LAN.(in windows i can but in linux i can't)
Also, rtl8139 diagontistic program in windows says 'no LAN board' detected but windows xp runs it seamlessly without any probs.

Note these 2 lines:

RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

Last edited by piyushiitk; 10-20-2005 at 01:57 PM.
 
Old 10-20-2005, 03:38 PM   #4
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
Check that your ethernet cable is plugged in. Also try another cable just in case the cable is faulty. Is your firewall running? Try disabling it if so and see if that makes a difference. Check that your IP settings are the same as the rest of the network - i.e. is the subnet & subnet mask the same.
 
Old 10-20-2005, 03:59 PM   #5
zak317
Member
 
Registered: Oct 2005
Location: 500$/monthly
Distribution: Mandriva 2006
Posts: 56

Rep: Reputation: 15
I've got a big headache with the rtl8139. After a whole week of tests, I finally discovered that the pin-out of my network cable was incorrect. No prob in Windows, but cannot connect with Linux.... After changing the cable, everything was OK.... So verify your cable!!

I agree with cdhgee, that looks like a firewall issue! Take a look at iptables -L
 
Old 10-20-2005, 04:08 PM   #6
piyushiitk
Member
 
Registered: Jul 2004
Location: kanpur, india
Distribution: Fedora Core 4
Posts: 31

Original Poster
Rep: Reputation: 15
firewall is disabled
same settings used as in windows
cable checked already
 
Old 10-20-2005, 10:02 PM   #7
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Quote:
Originally posted by piyushiitk
i can not ping any pc in the LAN.(in windows i can but in linux i can't)
Also, rtl8139 diagontistic program in windows says 'no LAN board' detected but windows xp runs it seamlessly without any probs.

Note these 2 lines:

RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
These two lines are never the problem. My lan is up and running and me too have the same two lines in #ifconfig eth0

can other systems on your lan ping yr machine when its in linux ???

regards
 
Old 10-21-2005, 04:43 AM   #8
piyushiitk
Member
 
Registered: Jul 2004
Location: kanpur, india
Distribution: Fedora Core 4
Posts: 31

Original Poster
Rep: Reputation: 15
got it solved..there was some irq conflict from cmos setting..i just set it to default & now network is up
(strangely in windows it was was working but not in any linux distro)
 
Old 10-21-2005, 08:33 AM   #9
BoldKiller
Member
 
Registered: Apr 2002
Location: Montreal, Quebec
Distribution: Debian, Gentoo, RedHat
Posts: 142

Rep: Reputation: 15
Quote:
Originally posted by zak317
I've got a big headache with the rtl8139. After a whole week of tests, I finally discovered that the pin-out of my network cable was incorrect. No prob in Windows, but cannot connect with Linux.... After changing the cable, everything was OK.... So verify your cable!!
Electricly speaking, I dont see how that is possible!! If the pin-out is incorect, the signals wont get to the RX pins. So what ever the OS is, there is no way you can make it work.
Maybe your cable was intermitently faulty. As in sometimes good sometimes bad.
 
Old 10-21-2005, 09:03 AM   #10
piyushiitk
Member
 
Registered: Jul 2004
Location: kanpur, india
Distribution: Fedora Core 4
Posts: 31

Original Poster
Rep: Reputation: 15
not that's not the case.
to be precise: whenever i shutdown my windows pc (thru hibernation, not proper shutdown) i get network problem when i go to linux. I have to set the 'bios' settings to default to make it work in linux.
Though hibernation ins windows very well when i boot again from it.
I really wonder how it creates problem to settings in bios, that later on linux network dooesn't work.

Last edited by piyushiitk; 10-21-2005 at 09:05 AM.
 
Old 10-21-2005, 09:12 AM   #11
BoldKiller
Member
 
Registered: Apr 2002
Location: Montreal, Quebec
Distribution: Debian, Gentoo, RedHat
Posts: 142

Rep: Reputation: 15
My guess is the hibernation set the network card in some kind of power saving mode.
When booting linux, the drivers might not expect that state and not know how to recover from it.

What did you change in the bios?? Maybe you forced a reset of the card controller. Then your problem was solved. If it was the IRQ assignement, then you definatly caused the card to reset.
 
Old 10-21-2005, 09:16 AM   #12
piyushiitk
Member
 
Registered: Jul 2004
Location: kanpur, india
Distribution: Fedora Core 4
Posts: 31

Original Poster
Rep: Reputation: 15
i just set bios settings to default. and it worked (i have tried and tested my times). strange with this problem no linux distro was working until i set bios settings to default
(damn m***osoft, they hide what ever they do. it took me 2 days to find the problem, grrr!!! )
 
Old 10-22-2005, 11:42 AM   #13
BoldKiller
Member
 
Registered: Apr 2002
Location: Montreal, Quebec
Distribution: Debian, Gentoo, RedHat
Posts: 142

Rep: Reputation: 15
Quote:
Originally posted by piyushiitk
(damn m***osoft, they hide what ever they do. it took me 2 days to find the problem, grrr!!! ) [/B]
Not that I want to defend them, but putting the card in power saving mode will usally be done by the driver. Not the OS.

Can you just confirm that you need to do that by reset thing every time you hibernate windows and boot back in Linux?
 
Old 10-22-2005, 01:13 PM   #14
piyushiitk
Member
 
Registered: Jul 2004
Location: kanpur, india
Distribution: Fedora Core 4
Posts: 31

Original Poster
Rep: Reputation: 15
yes, i have tried twice..hibernate creates probs. :-(
 
Old 10-22-2005, 04:04 PM   #15
BoldKiller
Member
 
Registered: Apr 2002
Location: Montreal, Quebec
Distribution: Debian, Gentoo, RedHat
Posts: 142

Rep: Reputation: 15
Then its a hardware/driver problem. There is not really solution other than trying newer/better drivers for your card in Linux.
Or not use the hibernation mode.

I know its not really the answer you were hoping for.
 
  


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
Network Settings kunkumd Linux - Software 1 05-06-2005 01:53 PM
Network configuration and IP Settings longsword84 Linux - Networking 2 03-30-2005 05:39 PM
Network settings jklaroe Slackware 5 06-19-2004 06:17 PM
Linux Network Settings ChangeOfPace Linux - Networking 9 05-05-2004 09:35 AM
Need help with network settings and router evanmac Linux - Networking 3 03-14-2003 01:40 AM


All times are GMT -5. The time now is 10:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration