Click to See Complete Forum and Search --> : Config Linksys LAN card on Mandrake
pappygoodwill
07-26-2002, 09:59 AM
Trying to config a Linksys LAN card on Mandrake 8.1 (2.4.8-26mdk)
Few applicable Mandrake-specific How-To's. Common problem is /different/path/and/file.name from the plentiful Red Hat, Debian and S.u.S.E How-To's. Need a complete list of Mandrake path/files to edit/create (resolv.conf, inittab, hosts rc.inetx etc)
tulip module
io port 0xf800
irq 10 (shared w/ SCSI card)
Assigned IP 192.168.0.2 loopback 127.0.0.1
mask 255.255.255.0 host name: his_pc
Gateway is a WinXP box. (Yah,yah. My wife's employer is a shameless Microsoft lemming.) 192.168.0.1 255.255.255.0
host name: her_pc
ISP is neok.com 206.137.4.7 206.137.4.10
The resolv.conf, inittab and hosts file will be in /etc, although I can't quite see why you'd need inittab. The equivalent rc.inetx files will be in /etc/init.d (I think) although mandrake uses System V style inits and so won't have rc.inet files (not too familiar with Sys V).
As long as you have the network card module in though (modprobe tuilp), Mandrake's GUI setup tools should let you do the rest.
mdwatts
07-26-2002, 04:29 PM
Don't forget to disable PnP OS in the bios as this alone can prevent a pci ethernet/sound card from being detected and configured correctly.
What exact problems are you having? Having that information would help us help you find the solution faster.
Some ideas:
1.Turn off Plug-n-Play support in your BIOS. Doing so can resolve resource (IRQ/IO) conflicts.
2.In the output of the ifconfig command, does the information for eth0 (IP info, IRQ, io port, etc. match the information you posted?
3.Is the tulip module loading? Run the lsmod command; you should see the tulip module in the resulting list of loaded modules. If not, try loading it manually with the following commands:
depmod -ae
modprobe tulip
If you get no errors, the tulip module should appear as loaded when you run lsmod again. If you're able to manually load the module, add the following line to /etc/modules.conf to automagically load the module at boot-up:
alias eth0 tulip
4.Can you ping the IP of the NIC? Can you ping the gateway machine by IP?
5.Some basic network info is stored in the /etc/sysconfig/network file. My network seems to be set up similarly to yours; here's my /etc/sysconfig/network file as an example:NETWORKING=yes
FORWARD_IPV4="no"
HOSTNAME=<insert your hostname here>
DOMAINNAME=<insert your domain name here>
GATEWAY="192.168.0.1"
GATEWAYDEV="eth0"
6.Interface-specific network info is stored in the /etc/sysconfig/network-scripts/ifcfg-ethx files (where x is the number of the NIC in question; it will be eth0 if you only have one NIC). Again, here's the relevant info from mine as a sample:DEVICE="eth0"
BOOTPROTO="none"
IPADDR="192.168.0.2"
NETMASK="255.255.255.0"
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
ONBOOT="yes"
Note that I'm assigning static IPs on my LAN, as opposed to letting my router act as a DHCP server; for a small home network, I'd suggest doing the same. If you are using DHCP the configuration is slightly different; let us know if that's what you're doing.
pappygoodwill
07-28-2002, 09:34 AM
Mucho Grass for everyone who replied. Especially DMR. Most helpful. I'm pinging now.
For DMR: There are only a few minor variations in the files you specified (Although it appears that it doesn't matter)
In /etc/sysconfig/network the FORWARDIPV4="false" instead of "no", and the ifcfg-eth0 entry for BOOTPROTO="static" instead of "none" .
Now I assume that if I want to attempt alphanumeric exchange between the Penguin and XP, its a matter of software and security, eh?