MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
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.
Hi I have 2 NIC's: ADMtek|ADM983 & Realtek|RTL-8139
and I can't get either to connect to the internet I’m using a router 192.168.1.1 as my gateway and DNS but its still not working and every time i restart, the DNS changes to 127.0.0.1, I’ve tried this with both card and I’ve also tried setting them to DHCP but no luck what so ever! Both cards worked when I had Debian on with a 2.2 kernel but seem to have problems with anything above 2.2 kernels.
setting card IP as 192.168.1.4
running Mandrake 10.1
Kernel IP routing table
Destination Gateway Henmask Glags Metric Ref Use IFace
/etc/resolv.conf
search net local
#search net local net net local net net net net local net net net net net local net net net net net net net net net net net net net net local
nameserver 192.168.1.1
# nameserver 127.0.0.1
# nameserver 127.0.0.1
# nameserver 127.0.0.1
# nameserver 127.0.0.1
# nameserver 127.0.0.1
# nameserver 127.0.0.1
# nameserver 127.0.0.1
# nameserver 127.0.0.1
# nameserver 127.0.0.1
# nameserver 127.0.0.1
# nameserver 127.0.0.1
# nameserver 127.0.0.1
# nameserver 127.0.0.1
# nameserver 127.0.0.1
# nameserver 127.0.0.1
# nameserver 127.0.0.1
# PPP temp entry
i take it form ifconfig that ive not done somthing right being as it doesnt list eth0 or eth1 any help will be appriceated
try this
for one NIC
assign static IP address
with gateway as that of ur router and dns server the same
and they try accessing the internet ,and if it still does not work then again give me the O/P of the above commands
ive tryed that, and thats what messages i get, thats what i donbt undertsand, ive tryed it on both crads, doing it wiht one and removing the other for both static and DHCP and neither ways are working! yet both cards are detected and i know the cable is working because all lights are on both router and card and all works fine in 2.2 kernel. :S
any ideas?
hi, before i do that you should see this erorr that ive just realised i get on boot (dont normaly see becaus eu have to press esc)
Bringing up loopback interface: [OK]
Bringing up interface eth0: interface 'eth0' not found
interface 'eth0' not found
/bin/true
tulip device eth0 does not seem to be present, delaying initialization
[Failed]
Bringing up interface eth1: Failed to bring up eth1.
SIOCSIFFLAGS: Function not implemented
[Failed]
Looks like the modules are not being loaded for your network card(s)
We will try using the realtek card (same as in my desktop)
You can check if the module is loaded with
Code:
lspci | grep 8139too
if it returns nothing, the module is not loaded.
If not, type (as root)
Code:
modprobe 8139too
which will try to load it for you - you should get some feedback.
To make this permanent, stick the following in /etc/modprobe.conf :
Code:
alias eth0 8139too
and comment out anything else with eth0 or eth1 in it by putting a # at the beginning of the line. This should enable the driver module to load on booting. You need to log on as root for this.
You may find it all works after a reboot, but if not check out my Mandrake simple net setup howto at www.iwpcs.co.uk/simple_net_setup.html. If you still have problems, the bottom of the page has a few commands you can post the output of here for further help. Add lspci to this list.
i did
modprobe 8139too
and received nothing on the screen it just accepted it, reinstalled mandrake to clkear all drivers and everything and followed that site and still not working im now getting
Bringing up interface eth0... failed
i have tryed a bran new network card and that comes up with the same error
ive added 8139too to /etc/modprobe.preload but still not working
now comes up with failed to bring up eth0
restarted the system and still coming up that it failed
any more sugestions?
sorry for being such a pain, i did follow every single instruction on that page, i was very tired and kinda just didnt mention everything, sorry for that.
SIOCSIFFLAGS: Function not implemented
Failed to bring up eth0.
what next mate? any chance of talking over msn one night or somthing? might be able to get it sorted bit quicker, else we could use irc if your into that? irun a network so that would be fine.
I don't have any sort of chat stuff set up, but perhaps I should...
I wonder if the onBOOT in /etc/sysconfig/network-scripts/ifcfg-eth0 needs to be in all UPPER CASE and is causing the SIOCSIFFLAGS problem? Just guessing. Try changing it and rebooting, assuming it was not just a typo in the post.
Quote:
yep "lsmod | grep 8139too" is returning the same results
Sorry, I should have been clearer - I meant the same results as
8139too 20928 0
mii 4224 1 8139too
Is that what you mean too - what you are getting after a reboot, without doing anything else?
If so, the modules are being loaded - the interface should work, so your next step is to try to bring the interface up manually:
Code:
ifconfig eth0 192.168.1.4 up
then type ifconfig to see if it worked - post the output.
If the modules are not being loaded. Have a look in the logs for any messages.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.