LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Connecting to the Internet in Slackware 9.1 (https://www.linuxquestions.org/questions/linux-newbie-8/connecting-to-the-internet-in-slackware-9-1-a-133306/)

rfsatxeng 01-10-2004 02:16 AM

Connecting to the Internet in Slackware 9.1
 
okay, I'm connectng through a LAN, at home I'm using a Linksys router that you can plug into or use wirelessly. It receives internet from a DSL modem. I'm pretty sure I have a dynamic IP address from my ISP. At school I'm merely plugged into the dorm's LAN.

So pppsetup I learned is for dial-up, I really have no use for that but at least I learned that command.

I ran lspci, I figured the important part of the output would be

02:01.0 Ethernet controller: Broadcom Corporation BCM4401 100 Base-T (rev 01)
02:02.0 Network controller: Broadcom Corporation BCM4301 802.11b (rev 02)

I think this means that Slack did recognize my LAN and wireless NIC, right?
So how do I tell Slack to let me connect???

After running lsmod I got a lot of output and have no idea what I'm looking for. Thanks for any help that you can give me.

bigjohn 01-10-2004 09:40 AM

don't know slack, but lspci list's pci connections/boards, well that's how I understand it anyway's.

have you tried ifconfig (probably as root), that should then list your loop and presuming that your ethernet connection is configured as eth0

Something like this

bash-2.05b# ifconfig
eth0 Link encap:Ethernet HWaddr 00:09:5B:07:3E:9D
inet addr:***.***.**.** Bcast:***.***.**.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12390 errors:0 dropped:0 overruns:0 frame:0
TX packets:13403 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:11494449 (10.9 Mb) TX bytes:2018845 (1.9 Mb)
Interrupt:11 Base address:0x8000

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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:400 (400.0 b) TX bytes:400 (400.0 b)

bash-2.05b#

If you are connected via a DSL modem and router, then in theory, anyway's you should just have to config the LAN part of eth0 giving it the address of the router, because I should have thought that you would already have got the modem and router connected previously (via windows ??? or something).

regards

John

Nis 01-10-2004 10:13 AM

Try 'netconfig'. You probably want to use DHCP when it asks, and when it prompts for a DHCP hostname just hit enter. And you'll want to run this as root. Afterwards either reboot or run /etc/rc.d/rc.inet1 as root.


All times are GMT -5. The time now is 07:01 AM.