LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Net Connection Slackware 9.1 troubles (http://www.linuxquestions.org/questions/slackware-14/net-connection-slackware-9-1-troubles-123779/)

mymojo 12-08-2003 02:51 AM

Net Connection Slackware 9.1 troubles
 
Hello! I can't seem to get on the internet with Slackware 9.1 (or any other distribution other than Redhat 9)...

I've got cable internet.

I have a standard USB 10/100 ethernet USB adapter. in windows XP it uses Accton USB 10/100 Ethernet Adapter and SIS900 (only got one usb adapter though!)

ok, in linux I copied what I could from boot:

pegasus.c: v0.4.32 (2003/06/06):Pegasus/Pegasus II USB Ethernet driver
usb.c: registered new driver pegasus
pegasus.c: eth1: Accton USB 10/100 Ethernet Adapter
dhcpcd[156]: timed out waiting for a valid DHCP servers response

and ifconfig gave:

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: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)


a little help please?

p.s. I've been going at this issue for quite a while now! (with other distros though) more info on problem here: http://www.linuxquestions.org/questi...hreadid=123105

Azmeen 12-08-2003 02:55 AM

Have you set your ISPs DNS servers using netconfig?

mymojo 12-08-2003 03:57 AM

DHCP - localhost - localdomain

that's all I enter... I don't know of computer name or.. err.. DNS - ??

Azmeen 12-08-2003 08:57 AM

What's the output of this command:
Code:

cat /etc/resolv.conf

mymojo 12-08-2003 09:36 AM

Before I reboot... I copied some useful info over..

boot msgs:

hub.c: 3 ports detected
SiS router pirq escape (96)
SiS router pirq escape (96)
usb-ohci.c: USB OHCI at membase 0xe0a6c000, IRQ 5
usb-ohci.c: usb-00:03.0, Silicon Integrated Systems [SiS] USB 1.0 Controller
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 3 ports detected
uhci.c: USB Universal Host Controller Interface driver v1.1
usb-uhci.c: $Revision: 1.275 $ time 18:40:47 Sep 2 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
hub.c: new USB device 00:03.0-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x45e/0x1e) is not claimed by any active driver.
hub.c: new USB device 00:03.1-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x83a/0x1046) is not claimed by any active driver.
usb.c: registered new driver usbmouse
input0: Microsoft Microsoft IntelliMouse® Explorer on usb3:2.0
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
pegasus.c: v0.4.32 (2003/06/06):Pegasus/Pegasus II USB Ethernet driver
usb.c: registered new driver pegasus
pegasus.c: eth1: Accton USB 10/100 Ethernet Adapter
dhcpcd[156]: timed out waiting for a valid DHCP server response

Starting sysklogd daemons: /usr/sbin/syslogd /usr/sbin/klogd -c 3 -x
Starting Internet super-server daemon: /usr/sbin/inetd
Starting OpenSSH SSH daemon: /usr/sbin/sshd
Updating shared library links: /sbin/ldconfig
Updating X font indexes: /usr/X11R6/bin/fc-cache
Starting sendmail MTA daemon: /usr/sbin/sendmail -L sm-mta -bd -q25m
Starting sendmail MSP queue runner: /usr/sbin/sendmail -L sm-msp-queue -Ac -q25m
ALSA warning: No mixer settings found in /etc/asound.state.
Sound may be muted. Use 'alsamixer' to unmute your sound card,
and then 'alsactl store' to save the default ALSA mixer settings
to be loaded at boot.
Loading OSS compatibility modules for ALSA.
Loading 256-char 8x16 font from file /usr/share/kbd/consolefonts/lat1-16.psfu.gz
Loading Unicode mapping table...

other stuff:

eth0: Realtek RTL8201 PHY transceiver found at address 1.
eth0: Using transceiver found at address 1 as default
eth0: SiS 900 PCI Fast Ethernet at 0xdc00, IRQ 3, 00:0c:6e:08:94:5a.
eth0: Media Link Off
pegasus.c: v0.4.32 (2003/06/06):Pegasus/Pegasus II USB Ethernet driver
pegasus.c: eth1: Accton USB 10/100 Ethernet Adapter

eth0 Link encap:Ethernet HWaddr 00:0C:6E:08:94:5A
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:590 (590.0 b)
Interrupt:3 Base address:0xdc00


eth1 Link encap:Ethernet HWaddr 00:10:B5:B4:21:AB
BROADCAST MULTICAST MTU:1500 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:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

mymojo 12-08-2003 09:54 AM

cat /etc/resolv.conf:

search localdomain

or when I changed the name of the domain

search cue.ball

(don't ask....)

so, yah!

Azmeen 12-08-2003 07:38 PM

OK, correct me if I'm wrong but AFAIK all ISPs providing broadband (ADSL, cable) connection to their customers, will provide at least one (more commonly two) nameservers for their use.

Without these nameserver's IP, you won't be able to resolve hostnames at all.

DaOne 12-08-2003 07:43 PM

Quote:

Originally posted by mymojo
cat /etc/resolv.conf:

search localdomain

or when I changed the name of the domain

search cue.ball

(don't ask....)

so, yah!

What are your DNS servers...better yet, what service and area are you using?

mymojo 12-08-2003 10:39 PM

ok, I go into DOS command and type "ipconfig"

I get Connection-Specific DNS Suffix being - [area].optushome.com.au then lists ip address, subnet mask, default gateway...


but it's not a static IP address - it changes quite a bit... maybe not everytime I startup, but it does change.

meh, so I tried hostname "mandy" [made up] at domain "[area].optushome.com.au" (the area is just my area... it shows few letters of where I live... not very long)

do I get a real hostname? where do I find it? does it change?

ok, I go into DOS command and type "hostname" and get "WOOT" (I named it that)..... ?

burnpile 12-08-2003 10:47 PM

It looks like slackware did at least get the pegasus driver installed though! Good old slackware :)

You are in good hands here. I hope all goes well. You've had enough headaches the past few days.

One thing to try (besides what these gentlemen have said) is see if you can ping a known alive server by it's IP address. 198.175.96.33 is intel.com fyi.

Azmeen 12-09-2003 12:37 AM

In XP/2K... type this on the command box: ipconfig /all

You'll see something similar to this:
Code:

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . : whatever.domain
        Description . . . . . . . . . . . : Intel(R) PRO/100 S Desktop Adapter
        Physical Address. . . . . . . . . : 00-02-B3-3C-E0-0C
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 10.151.26.999
        Subnet Mask . . . . . . . . . . . : 255.255.254.0
        Default Gateway . . . . . . . . . : 10.151.26.1
        DNS Servers . . . . . . . . . . . : 10.151.24.128
                                            10.152.193.196
                                            10.152.195.193

        Primary WINS Server . . . . . . . : 10.151.24.128

The only important things that we need to help you is the bold part... Your DNS servers... The thing that I asked from you four posts ago... remember?

mymojo 12-09-2003 03:36 AM

Ok... I got them...

203.2.75.132
198.142.0.51

Azmeen 12-09-2003 05:59 AM

Good... now edit your resolv.conf file to look like this:
Code:

nameserver 203.2.75.132
nameserver 198.142.0.51


mymojo 12-09-2003 08:23 AM

ok, I did, then rebooted and DHCP timed out still.....

I didn't do netconfig after... as it would overwrite setting...

hmm.

Azmeen 12-09-2003 11:06 AM

Use netconfig to add the nameservers, and configure other settings (DHCP, hostname, domain, etc)... it will make them "stay" in there even after reboots. Make sure you've entered the correct information.

Also make sure you've configured all your network cards properly before rebooting.


All times are GMT -5. The time now is 07:24 PM.