Cable network config


Recommended Posts

I am having trouble configuring my shaw cable internet connection for slackware. This is what I have so far:

etc/HOSTNAME

(client id).shawcable.net

etc/hosts

# For Loopbacking

127.0.0.1 . localhost

127.0.0.1 . (client id) shawcable.net (client id)

# End of hosts.

etc/resolv.conf

search shawcable.net

Thank-you for your advice.

Link to comment
Share on other sites

I think you are missing a nameserver entry in your /etc/resolv.conf

If you are using a router, it would be

nameserver 192.168.0.1

If not, you'll need to contact your ISP to get the IPs of their nameservers.

Link to comment
Share on other sites

Thanks!

I have contacted my internet prov., and discovered the nameserver addresses- However, linux does not recognize my nic (3com 3c920 ethernet) Ifconfig eth0 (and eth1) returns "error getching interface information: Device not found". how can get linux to support my nic? (I have run netconfig) When I installed slackware 9.1, the ethernet cable was not plugged in, would this affect the distro's ability to recognize it, and install drivers for the device?

Link to comment
Share on other sites

It most likely would. First, make sure you have the kernel sources installed. Then do the following to compile the driver for your card.

# cd /usr/src/linux
# cp .config ~/
# make mrproper
# cp ~/.config .
# make menuconfig (or xconfig or whatever other config tool you want to use)
--> go through the network interfaces and select the one that matches your card's chip as a module
--> escape out and save the config
# make dep && make modules modules_install

This process saves you from having to recompile your entire kernel as it only redoes the modules. Then you can just modprobe or insmod the module for your card. You should then be able to config the card with ifconfig.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.