LinuxQuestions.org
Visit Jeremy's Blog.
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 03-16-2004, 11:59 PM   #1
DannyW
LQ Newbie
 
Registered: Mar 2004
Location: the part of New York that isn't NYC
Distribution: Mandrake Linux 10.0
Posts: 4

Rep: Reputation: 0
Can't connect to the net in Mandrake w/ VIA Rhine


Hello. I have been able to connect to the internet on my machine with RedHat and Windows XP, but not with Mandrake 9.x or 10.

I have a router and asked about that on another forum... every solution I tried didn't help. My ethernet card is a VIA VT6102 Rhine II Fast Ethernet Adapter. If that is most definitely my problem, what can I do to get myself connected?
 
Old 03-17-2004, 04:30 AM   #2
neostorm
LQ Newbie
 
Registered: Aug 2003
Location: Australia - Citizen
Distribution: mandrake
Posts: 3

Rep: Reputation: 0
hey man

yo, what motherboard have u got ??... cos' i'm having the same problem too...
try "query modem" and tell me what it says
 
Old 03-17-2004, 06:17 AM   #3
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
query modem wont help with an ethernet card 'yo!''

Also, what problems are you experiencing especially?
when you open a browser no pages?
can you 'ping' any hosts on the outside/inside network?
 
Old 03-17-2004, 10:58 AM   #4
DannyW
LQ Newbie
 
Registered: Mar 2004
Location: the part of New York that isn't NYC
Distribution: Mandrake Linux 10.0
Posts: 4

Original Poster
Rep: Reputation: 0
I can't ping any hosts at all besides myself.

The browsers don't work.
 
Old 03-17-2004, 11:18 AM   #5
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
have you tried mandrakes netconfig??? I have succesfully used mandrake witha via-rhine.. (i think it was a little buggy if i remember right) but it detected it with netconfig. I have also found that sometimes using a static ip gets the card to working.. then switching back ti dhcp when it does work.
 
Old 03-30-2004, 05:52 AM   #6
Fernandoch
Member
 
Registered: Mar 2002
Location: Spain
Distribution: Debian, Cent OS, RHEL
Posts: 119

Rep: Reputation: 15
I have the same problem

I cannot access the net too with my Fedora Linux distro when using DHCP with a Via-Rhine VT6102. I cannot get an IP.
Any solutions?
 
Old 04-01-2004, 11:41 AM   #7
katal
LQ Newbie
 
Registered: Apr 2004
Location: Dublin, Ireland
Distribution: Mandrake
Posts: 6

Rep: Reputation: 0
Add a noapic to boot line in lilo.conf
 
Old 04-01-2004, 01:36 PM   #8
Fernandoch
Member
 
Registered: Mar 2002
Location: Spain
Distribution: Debian, Cent OS, RHEL
Posts: 119

Rep: Reputation: 15
Already tried it!!!

I tried to install the noapic in my grub.conf but it did not work.
Could you please specify more? Give me the details ...

I am going to have to give up with Linux!!!!

Thank you!!!!
 
Old 04-02-2004, 12:43 AM   #9
katal
LQ Newbie
 
Registered: Apr 2004
Location: Dublin, Ireland
Distribution: Mandrake
Posts: 6

Rep: Reputation: 0
I don't know where you put the noapic, but it goes on the kernel command line.

I have a Chaintech Apogee, and without this kernel parameter the onboard Via-Rhine does not work.

See example grub.conf for placement of the noapic kernel paramater.

title Red Hat Linux (2.4.9-21)
root (hd0,0)
kernel /vmlinuz-2.4.9-21 ro noapic root=/dev/hda6
initrd /initrd-2.4.9-21.img
 
Old 04-03-2004, 01:00 AM   #10
Fernandoch
Member
 
Registered: Mar 2002
Location: Spain
Distribution: Debian, Cent OS, RHEL
Posts: 119

Rep: Reputation: 15
Still not working

I added the noapic exactly as u said and it is not working.
When linux starts and it says bringing up interface eth0, it gives me a failed instead of an OK. I am desesperate!!!!

I have to give up with linux, (
 
Old 04-03-2004, 02:29 AM   #11
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
I don't know the details for Mandrake, but I would like to ask a few relevant questions to see if we can come a little closer.

1. Is your NIC detectect during boot? Check lsmod to see if the module is loaded. Also check the logs after boot for errors, less /var/log/messages

2. When pinging "your self", are you pinging 127.0.0.1 or the IP of your NIC?

3. What does ifconfig say? Is your NIC up and does it have an IP?

4. If you can ping your NIC's IP then check the routing table to see that your deafult gateway is set correctly. route -n
 
Old 04-03-2004, 06:02 AM   #12
Fernandoch
Member
 
Registered: Mar 2002
Location: Spain
Distribution: Debian, Cent OS, RHEL
Posts: 119

Rep: Reputation: 15
Unhappy still nothing

I did the lsmod and it gave me a 1 under the used column. I cannot post it in here since I cannot get files from my linux partition into my windows partition.
The ifconfig give me an eth0 and a lo
Under the eth0 I have the following with no IP address:
Link encap: Ethernet HWaddr 00:400:3D:74:84
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 .... and so one

So I guess instead for the UP BROADCAST RUNNING MULTICAST I should get an IP address, isnīt it?

What to do?
 
Old 04-03-2004, 06:23 AM   #13
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
If ping 127.0.0.1 works it shows that the TCP/IP-stack is working correctly.
The problem here seems to be to get a DHCP lease correctly. Check the log for error messages during the DHCP query process.

The problem when using a static IP is probably related to the routing table. I think that the default gateway setting is incorrect or missing. Check with routing -n.
 
Old 04-03-2004, 03:08 PM   #14
Fernandoch
Member
 
Registered: Mar 2002
Location: Spain
Distribution: Debian, Cent OS, RHEL
Posts: 119

Rep: Reputation: 15
I did what was told

I did a ping 127.0.0.1 and I got this results:

64 bytes from 127.0.0.1 icmp-seq = 0 ttl 64 time = 0.010 ms
64 bytes from 127.0.0.1 icmp-seq = 1 ttl 64 time = 0.013 ms
64 bytes from 127.0.0.1 icmp-seq = 2 ttl 64 time = 0.010 ms

and so on ...

then I checked the /var/log/messages and I saw that for the Via-Rhine:

via-rhine.c: v1.10-LK1.1.19 July-12-2003 written by Donald Becker
http://www.scyld.com/network/via-rhine.html
PCI: Found IRQ10 for device 00:12.0
PCI: sharing IRQ10 with 00:10.0
PCI: sharing IRQ10 with 01:00.0

then
eth0: VIA VT6102 Rhine - II at 0xe300, 00:40:d0:3d:74:84
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 41e1

localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20
NO DHCPOFFERS received 9
NO DHCPOFFERS received 12
and so on ...

then route -n gives:
Destination Gateway Genmask Flags Metric Ref. Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 lo
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

What can I do????
 
Old 04-03-2004, 05:08 PM   #15
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Are your router responsible for handing out your IP, or do you get it from your ISP?
There seems to be some problem between your DHCP client and the DHCP server.

If you can use a static IP address then you could set the gateway manually too.
Your current config lacks a default gateway so even if you have an IP configured for your NIC then your computer wouldn't know how to handle packet with a destination other than 127.0.0.1 and your local network.
 
  


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
hw to connect net on Mandrake 10.1 vishalsharmait Linux - Networking 5 10-23-2005 06:21 AM
hw to connect net on Mandrake 10.1 vishalsharmait Linux - Distributions 1 10-21-2005 11:55 AM
Mandrake 10 can't connect to net ryland22 Mandriva 5 11-19-2004 10:43 PM
HELP !! VIA rhine net driver hangs yjchen Linux - Networking 0 10-26-2004 01:55 PM
Cannot connect in net in Mandrake linux 9.0 cogeek Linux - Software 11 09-16-2004 02:52 AM

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

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