LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-08-2003, 01:51 AM   #1
mymojo
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 176

Rep: Reputation: 30
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

Last edited by mymojo; 12-08-2003 at 01:52 AM.
 
Old 12-08-2003, 01:55 AM   #2
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Have you set your ISPs DNS servers using netconfig?
 
Old 12-08-2003, 02:57 AM   #3
mymojo
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 176

Original Poster
Rep: Reputation: 30
DHCP - localhost - localdomain

that's all I enter... I don't know of computer name or.. err.. DNS - ??
 
Old 12-08-2003, 07:57 AM   #4
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
What's the output of this command:
Code:
cat /etc/resolv.conf
 
Old 12-08-2003, 08:36 AM   #5
mymojo
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 176

Original Poster
Rep: Reputation: 30
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)
 
Old 12-08-2003, 08:54 AM   #6
mymojo
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 176

Original Poster
Rep: Reputation: 30
cat /etc/resolv.conf:

search localdomain

or when I changed the name of the domain

search cue.ball

(don't ask....)

so, yah!
 
Old 12-08-2003, 06:38 PM   #7
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
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.
 
Old 12-08-2003, 06:43 PM   #8
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
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?
 
Old 12-08-2003, 09:39 PM   #9
mymojo
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 176

Original Poster
Rep: Reputation: 30
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)..... ?

Last edited by mymojo; 12-08-2003 at 09:42 PM.
 
Old 12-08-2003, 09:47 PM   #10
burnpile
Member
 
Registered: Dec 2003
Location: Almost Heaven, West Virginia
Distribution: Slackware
Posts: 327

Rep: Reputation: 30
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.
 
Old 12-08-2003, 11:37 PM   #11
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
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?
 
Old 12-09-2003, 02:36 AM   #12
mymojo
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 176

Original Poster
Rep: Reputation: 30
Ok... I got them...

203.2.75.132
198.142.0.51
 
Old 12-09-2003, 04:59 AM   #13
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Good... now edit your resolv.conf file to look like this:
Code:
nameserver 203.2.75.132
nameserver 198.142.0.51
 
Old 12-09-2003, 07:23 AM   #14
mymojo
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 176

Original Poster
Rep: Reputation: 30
ok, I did, then rebooted and DHCP timed out still.....

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

hmm.
 
Old 12-09-2003, 10:06 AM   #15
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adsl Connection Troubles skinnyman100 Linux - Newbie 1 05-28-2005 05:47 AM
Troubles with adsl connection Luc484 Linux - Networking 3 04-26-2005 02:50 AM
Accesing wireless net connection in Slackware 10 NeoMetal Linux - Wireless Networking 5 08-31-2004 03:41 PM
connection sharing troubles paradoxni Mandriva 1 12-05-2003 12:29 PM
idea: sharing net connection, method: iptables..., problem: broken net connection :( danny2055 Linux - Networking 4 06-09-2003 07:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration