LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Network Problems with Slackware 9.1 and VIA Compatible Fast Ethernet Adapter (https://www.linuxquestions.org/questions/slackware-14/network-problems-with-slackware-9-1-and-via-compatible-fast-ethernet-adapter-190496/)

Hell Cheese 06-06-2004 08:58 PM

Network Problems with Slackware 9.1 and VIA Compatible Fast Ethernet Adapter
 
I have to do this from Windows because Slackware decided not to see my network. I can log into the router fine, but I don't know what to do otherwise. I set everything up as well as I could (sorry I'm not good at this, RH9 and FC2 automatically detected the network), like having everything as close to Windows networking as possible. Is there any way to view the network connections and/or modify their values without reinstalling Slackware?



PS: Is there any way to change the display driver in Slackware?

Bruce Hill 06-06-2004 09:06 PM

bash-2.05b# netconfig
will get it setup just fine. To view your connection try
bash-2.05b# ifconfig
and alternately add the nic, such as
bash-2.05b# ifconfig eth0
or
bash-2.05b# ifconfig eth1

What is the make and model of your motherboard? Your nic may not be recognized. Can you post the output of
bash-2.05b# lspci

It will return output like this
Code:

00:00.0 Host bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset Host Bridge (rev 02)
00:01.0 PCI bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset AGP Bridge (rev 02)
00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 02)
00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 02)
00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 02)
00:1d.7 USB Controller: Intel Corp. 82801DB USB EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 82)
00:1f.0 ISA bridge: Intel Corp. 82801DB ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801DB ICH4 IDE (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0322 (rev a1)
02:05.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5702 Gigabit Ethernet (rev 02)
02:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:0b.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
02:0b.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 03)

and from there we can determine your nic, where it's located, and then find out if Slack has a module for it, or if it's built-in the kernel...


What do you mean by "change the display driver?"

Hell Cheese 06-06-2004 09:17 PM

To the display driver: Well, in Fedora Core 2 and Redhat 9, there was a screen where I could change the driver that is loaded for my video card. I was just wondering if there was something like that in Slackware.

Hope this works. :D

Bruce Hill 06-06-2004 09:25 PM

Quote:

Originally posted by Hell Cheese
To the display driver: Well, in Fedora Core 2 and Redhat 9, there was a screen where I could change the driver that is loaded for my video card. I was just wondering if there was something like that in Slackware.

Hope this works. :D

Not a gui - you actually have to
(1) install the driver if it's not already installed
(2) edit /etc/X11/XF86Config

Joseph_M 06-07-2004 02:49 PM

Cheese what you are doing is trying to make what you have learned in windoze fit into linux. Companies like Redhat are producing products that make some things look the same as windows. Such as a "install new video driver" box. This is NOT the nix way of doing things. If you want to really understand your system make the linux documentation project your friend.

http://www.tldp.org/

What you learned to do in windoze is really only applicable in windoze. Linux is not windows. It has a much better way of doing things Learn how to use linux as linux not as windows. If you do this all the girls will love you, you will make lots more money and live a long and happy life.

:D

Hell Cheese 06-07-2004 03:16 PM

Quote:

Originally posted by Joseph_M
If you do this all the girls will love you, you will make lots more money and live a long and happy life.
I definitely want girls, But I was just taking the network stuff (like the gateway, what IP I'm supposed to be, etc), and didn't think that that would be a problem.

This is what ifconfig printed out:
Quote:

eth0
Link encap:Ethernet HWaddr 00:0C:6E:E1:5C:E7
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:724 errors:0 dropped:0 overruns:0 frame:0
TX packets:725 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:296924 (289.9 Kb) TX bytes:81419 (79.5 Kb)
Interrupt:9 Base address:0x9800

lo
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:80 errors:0 dropped:0 overruns:0 frame:0
TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5844 (5.7 Kb) TX bytes:5844 (5.7 Kb)



Joseph_M 06-07-2004 04:07 PM

Well you have an ip
Quote:

eth0
Link encap:Ethernet HWaddr 00:0C:6E:E1:5C:E7
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:724 errors:0 dropped:0 overruns:0 frame:0
TX packets:725 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:296924 (289.9 Kb) TX bytes:81419 (79.5 Kb)
Interrupt:9 Base address:0x9800
The inet addr:192.168.0.3 shows this. But you say you can't get on the net. What is in, or do you have, an /etc/resolv.conf ? Here is what is in mine:

nameserver 216.148.227.68
nameserver 204.127.202.4
search attbi.com

What does yours say? Can you ping any of the name servers in your resolv.conf file? can you ping 66.94.230.37, this is www.yahoo.com or one of them at least. And just to touch all the bases, what is the output from route? I am looking here to see if you have route to your gateway.

And what kind of router do you have??

Hell Cheese 06-07-2004 08:11 PM

This is what /etc/resolv.conf says:
Quote:

search home
Quote:

what is the output from route?
Please explain to me what that means? Do you mean can I access my router (which, BTW, is the Netgear RP614v2 router)

And I didn't understand what nameservers were in the first place so I just left them alone.

Hell Cheese 06-07-2004 08:33 PM

Heh. I just had to fill in the nameservers (which I figured out was DNS), and now it works. Thanks for all of the help, I appreciate it.

Bruce Hill 06-07-2004 08:45 PM

Quote:

Originally posted by Hell Cheese
Heh. I just had to fill in the nameservers (which I figured out was DNS), and now it works. Thanks for all of the help, I appreciate it.
Dude,

I just gotta ask...what's up with that nick? Whatzit mean?

Just got my router back from the shop - supposedly repaired - it got
toasted when I flashed the bios - we'll see - I got a new ISP and will
have to get the nameservers for them.

Hell Cheese 06-07-2004 08:57 PM

The name spawned about 5 years ago on Battle.net. It doesn't mean anything at all. But.......... I don't plan on switching ISPs any time soon (Verizon's package is decent enough, but hey, I'm not paying, my parents are), and I don't do enough to fry anything.

Joseph_M 06-07-2004 09:23 PM

Quote:

Originally posted by Hell Cheese
Heh. I just had to fill in the nameservers (which I figured out was DNS), and now it works. Thanks for all of the help, I appreciate it.
I thought that might be the case. That's why I gave you my resolve.conf.

By the way how did you get the name servers? It's cool to use the ones I have in my resolve.conf but they might change. If they do you will be SOL.

Even though you are up and running now I don't think the problem is solved. Take a look in /etc/dhcpc at the file that matches your ethernet device. Mine is /etc/dhcpc/dhcpcd-eth0.info. Here is what mine looks like:

IPADDR=192.168.1.18
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
GATEWAY=192.168.1.1
DOMAIN='attbi.com'
DNS=216.148.227.68,204.127.202.4
DHCPSID=192.168.1.1
DHCPGIADDR=0.0.0.0
DHCPSIADDR=192.168.1.1
DHCPCHADDR=xxxxxx # you don't need to see this part
DHCPSHADDR=xxxxxx
DHCPSNAME=''
LEASETIME=7200
RENEWALTIME=3600
REBINDTIME=6300
INTERFACE='eth0'
CLASSID='Linux 2.6.2 i686'
CLIENTID=xxxxx

Notice the DNS part. Does your file have this? If so then there is a problem with your dhcp client. It should have updated your resolv.conf file. If it's not there then there is a problem with your router. It should have given the dhcp client the information.

Hell Cheese 06-07-2004 09:27 PM

I don't have the file that you mentioned (I have the same thing, but with an EXE extension), but thanks for ruining my short-lived fun. :p

Joseph_M 06-07-2004 11:11 PM

Quote:

Originally posted by Hell Cheese
I don't have the file that you mentioned (I have the same thing, but with an EXE extension), but thanks for ruining my short-lived fun. :p
Don't worry the fun is just beginning.

I think there is some sort of problem with your dhcp client. Here is a list of the files that I have in /etc/dhcpc
-rw------- 1 root root 136 Jun 7 11:49 dhcpcd-eth0.cache
-rwxr-x--- 1 root root 61 Jan 28 2003 dhcpcd-eth0.exe*
-rw-r--r-- 1 root root 410 Jun 7 11:49 dhcpcd-eth0.info
-rw-r--r-- 1 root root 410 Jun 6 23:09 dhcpcd-eth0.info.old
-rw-r--r-- 1 root root 3 Jun 7 11:49 dhcpcd-eth0.pid


Could you post /etc/rc.d/rc.inet1.conf? This will show how your ethernet device is setup.


All times are GMT -5. The time now is 09:49 PM.