LinuxQuestions.org

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

mymojo 12-09-2003 10:18 AM

I've only got one network card (it's a usb adapter) - I don't know what the other thing is!

hold on while I try again.....

mymojo 12-09-2003 10:26 AM

Ok, here's some important updates:

When I go into netconfig ... I type this

hostname: mandy
domain: nsw.optushome.com.au [should it be the DNS numbers? how to seperate the two? a comma?]

select DHCP

press enter for "hostname" (set none)


That's it. Still doesn't work.....

One more thing...... the usb adapter is using eth1 (not the default eth0) - I don't know what the heck eth0 is - I don't have another network card installed (or plugged in or anything) that I know of!!!! maybe it's my usb mouse? lol?!

Azmeen 12-09-2003 07:00 PM

OK, first of all... from your ifconfig output display, it looks like you have 2 network cards. One is a Realtek (eth0) and one is your pegasus thingy (eth1).

Are you VERY sure that you don't have a built-in ethernet on your system... take a look behind your box... I'm sure that there is one there. Linux doesn't report on non-existing hardware :)

OK, now I'll try to guide you to enable DHCP on your eth1 since this is your pegasus ethernet.

Open up /etc/rc.d/rc.inet1 with your favourite editor (you'll need root to save this file). You should see something like this:

Code:

# Edit these values to set up your second Ethernet card (eth1),
# if you have one.  Otherwise leave it configured to 127.0.0.1,
# or comment it out, and it will be ignored at boot.
IPADDR2="127.0.0.1"  # REPLACE with YOUR IP address!
NETMASK2="255.255.255.0" # REPLACE with YOUR netmask!
# Or, uncomment the following lines to set up eth1 using DHCP:
#USE_DHCP2=yes
# If your provider requires a DHCP hostname, uncomment and edit below:
#DHCP_HOSTNAME2="CCHOSTNUM-A"

Uncomment the USE_DHCP2=yes line so that it looks like this:

Code:

# Edit these values to set up your second Ethernet card (eth1),
# if you have one.  Otherwise leave it configured to 127.0.0.1,
# or comment it out, and it will be ignored at boot.
IPADDR2="127.0.0.1"  # REPLACE with YOUR IP address!
NETMASK2="255.255.255.0" # REPLACE with YOUR netmask!
# Or, uncomment the following lines to set up eth1 using DHCP:
USE_DHCP2=yes
# If your provider requires a DHCP hostname, uncomment and edit below:
#DHCP_HOSTNAME2="CCHOSTNUM-A"

After that, make sure your /etc/resolv.conf file looks like this:
Code:

nameserver 203.2.75.132
nameserver 198.142.0.51
search [area].optushome.com.au

You never told us your DNS suffix, so the search bit might be totally wrong... Just put what the Connection specific DNS suffix bit in Windows' ipconfig says.

After that, say your prayers and reboot.

mymojo 12-09-2003 11:47 PM

YEAH BABY!!! I'M ONLINE (in mozilla typing this)!! Oh yeah! Thank YOU so much!! I've been at it for ages now, and finally! w00t!!!!!1

Azmeen 12-10-2003 12:26 AM

Quote:

Originally posted by mymojo
YEAH BABY!!! I'M ONLINE (in mozilla typing this)!! Oh yeah! Thank YOU so much!! I've been at it for ages now, and finally! w00t!!!!!1
Yay! Yet another Slacker online. Congratulations!


All times are GMT -5. The time now is 03:58 PM.