Guest MiikaH Posted September 5, 2005 Report Share Posted September 5, 2005 I just installed Mandriva Linux 10.2 and I'm quite new with Linux. My "net/lan card" is integrated "10/100/1000M PCI controller". (Motherboart Abit AX8) The problem is -> My network/internet isn't working. I've tried ADSL and lan options with many different settings, but nothing works. Maybe there is no correct drivers or something. (Internet on my another computer was working after setup.) I'm so new with Linux that I have no idea about installing/getting drivers and setting up network with them or if the problem is somewhere else. - MiikaH Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted September 6, 2005 Report Share Posted September 6, 2005 If you type su and then supply root password in a CLI prompt and then type ifconfig, does it show the interface is up? Post the results of the ifconfig. You could have a few options that could be causing the problem. If it's an ethernet connection, it should be configured as LAN. I'm assuming you have an ADSL router, which you want to use to gain access to the internet. Does it use DHCP? Is this how it worked when you used Windows (if you did use it of course :P )? Quote Link to comment Share on other sites More sharing options...
Smorgje Posted September 6, 2005 Report Share Posted September 6, 2005 You could also look in your Control centre under hardware, to see if your card is recognised . If not, it might give an indication to it's type and/or brand, if not, you'll have to consult your motherboard's manual to find that one out. If it is recognised, that is wonderful, if not, please try and post it's type and/or brand. Quote Link to comment Share on other sites More sharing options...
Guest MiikaH Posted September 6, 2005 Report Share Posted September 6, 2005 (edited) Post the results of the ifconfig. You could have a few options that could be causing the problem. <{POST_SNAPBACK}> ifconfig: eth0 Link encap:UNSPEC HWaddr 00-50-8D-00-00-D2-7F-19-00-00-00-00-00-00-00-00 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:5 dropped:5 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B ) TX bytes:0 (0.0 B ) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:10 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:660 (660.0 B ) TX bytes:660 (660.0 B ) sit0 Link encap:IPv6-in-IPv4 inet6 addr: ::127.0.0.1/96 Scope:Unknown UP RUNNING NOARP MTU:1480 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:0 RX bytes:0 (0.0 B ) TX bytes:0 (0.0 B ) Does it use DHCP? Is this how it worked when you used Windows (if you did use it of course :P )? <{POST_SNAPBACK}> Yes, i'm pretty sure it uses DHCP. Edited September 6, 2005 by MiikaH Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted September 6, 2005 Report Share Posted September 6, 2005 OK, the device isn't getting an IP address. What might be worth doing is System/Configuration/Hardware/HardDrake, and then select the network card to see if it's recognised it correctly. If it has, then I think what you'll need to do is add this line to /etc/modprobe.conf alias net-pf-10 off this is easily done, just type: cd /etc su (supply root password when prompted) vi modprobe.conf press i at the end of the file type "alias net-pf-10 off" without the quotes. press esc press :w (colon w - it will save the file) press :q (colon q - to quit) Then, you should be OK. ipv6 could be causing your problems for stopping the ability of getting an IP address. Double check that you have a link light on your ethernet card first though, in case the cable is not connected properly. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted September 6, 2005 Report Share Posted September 6, 2005 After editing the file, you'll have to reboot for the change to take effect. Quote Link to comment Share on other sites More sharing options...
Guest MiikaH Posted September 6, 2005 Report Share Posted September 6, 2005 what you'll need to do is add this line to /etc/modprobe.conf alias net-pf-10 off <{POST_SNAPBACK}> I did that and nothing changed. Cable is connected. (I'm using Windows on same computer without problems.) I noticed when I start Linux and press esc, after while loading there is something like that: "grep: /etc/sysconfig/networking/default/ifcfg-*: No such file or directory Determining ip information for eth0... failed" Before that it keeps 2-4min waiting. =P There is that ifcfg file at "/etc/sysconfig/networking" so I copied it to new folder named "default". Now only "Determining ip information for eth0... failed" arrives. Any other suggestions? Quote Link to comment Share on other sites More sharing options...
Smorgje Posted September 6, 2005 Report Share Posted September 6, 2005 What is IN that ifcfg file? You could type "kwrite <filename> &" without the quotes, and you could copy paste it to the forum more easily than with vi. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted September 7, 2005 Report Share Posted September 7, 2005 Can you check if an ifcfg-eth0 exists in /etc/sysconfig/network-scripts This is how it looks on mine: [ian@ianlinux ian]$ cd /etc/sysconfig/network-scripts [ian@ianlinux network-scripts]$ ls ifcfg-eth0 ifcfg-eth0* [ian@ianlinux network-scripts]$ cat ifcfg-eth0 DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes HWADDR=xx:xx:xx:xx:xx:xx (replaced with xx:xx yours will list physical mac address) METRIC=10 MII_NOT_SUPPORTED=no [ian@ianlinux network-scripts]$ The above shows the commands I used to get to the directory, do a list to see if the file exists, and then type the contents of this file onto the screen using the "cat" command. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.