LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 08-11-2004, 11:55 AM   #1
Cryptic_K
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Rep: Reputation: 0
Slackware 10.0 Network/Internet setup


hi all. i have just successfully setup slackware on my box, and i think its cool. but i can't setup my internet for some reason.
i am connecting through a d-link router, but if i run ifconfig, it dosen't tell me my local ip under the inet: thing, only 127.0.0.1. when i was in windows, running ipconfig would tell me that i was 192.168.0.100 but on slackware, it acts as if i'm not on a network. i try to ping 192.168.0.2, which is another computer thats connected to the router, but it says 'network unreachable'. so because of that, i don't know my local ip, so i can't run netconfig. can anybody help me?
 
Old 08-11-2004, 02:02 PM   #2
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Blog Entries: 3

Rep: Reputation: 30
Hi,

First, is your D-Link router handing out IP addresses? Is it running DHCP? Second, did you manually configure the IP address in Windows or did Windows just grabbed that IP address from the D-Link router?

If you don't remember setting up the IP address in Windows manually, then the D-Link router handed out the IP address to Windows.
 
Old 08-11-2004, 03:27 PM   #3
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 49
netconfig. Select dhcp. Done.
 
Old 08-12-2004, 11:54 AM   #4
Cryptic_K
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Original Poster
Rep: Reputation: 0
sorry, i'm not sure about the handing out ip addresses thing, but i don't remember setting up my internet on windows.. it was just.. there. as for the dhcp thing, i'm just not sure what to put the values in for.

edit: for the dhcp thing, i just pressed enter because my isp didn't give me anything, but it dosen't work.

Last edited by Cryptic_K; 08-12-2004 at 12:18 PM.
 
Old 08-12-2004, 12:30 PM   #5
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Blog Entries: 3

Rep: Reputation: 30
Ok, then you may have to look at the D-Link router's config interface and double-check the DHCP settings and make sure your Slackware box is not hooked up to the uplink port on the D-Link.
 
Old 08-12-2004, 12:46 PM   #6
Cryptic_K
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Original Poster
Rep: Reputation: 0
i'm pretty sure its not, because i used to have windows on the same box, and the internet worked fine, but in slackware, nothing works. and i haven't touched the router box. its a di-604 model box, if that matters.
 
Old 08-12-2004, 12:59 PM   #7
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 49
Cryptic_K:

I have the same router. All that I did was.

1) Hook cable modem/ dsl modem up to the router (Uplink port)
2) Hook computer up to router (Port 1)
3) Run netconfig
4) choose dhcp

You are correct in that you do not need to enter extra information for dhcp. It has nothing to do with your ISP, though. Your computer is not getting an IP address from your ISP, it is getting it from your router. Your router handles getting an IP address from your ISP all by itself. Your computer should receive the IP address 192.168.0.100, just like it did under windows.

Run netconfig again. This time, write down all of the options and what you choose. Post back and let us know.
 
Old 08-12-2004, 04:37 PM   #8
Cryptic_K
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Original Poster
Rep: Reputation: 0
well, i'm pretty sure my computer's connected to the router and everything, and i've tried netconfig, and put cryptick as the host name, then cryptick.net as domain, then selected dchp, then just pressed enter when it asked me for info. but it dosen't work.! i just don't know why i can't even ping my router. does that imply that i'm not connected? does video cards matter? if they do, i'm on a nVidia GeForce.
 
Old 08-12-2004, 04:44 PM   #9
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 49
Video card doesn't matter.

Is your computer dual boot right now? And everything is working from WIndows?

Did you do a full install?

OK, here's what I'm thinking. You probably don't have the module loaded for your NIC card. Run
Code:
lsmod
and post the contents here. What type of NIC card do you have?
 
Old 08-13-2004, 11:30 AM   #10
gyodai
LQ Newbie
 
Registered: Oct 2003
Location: Fortaleza - CE - Brazil
Distribution: Arch Linux, Slackware
Posts: 12

Rep: Reputation: 0
try to do this:

# ifconfig eth0 down
# cd /etc/rc.d/
# ./rc.inet1 restart

My network - with a SiS900 NIC - only works if I do these commands. Why? I don't know.
 
Old 08-13-2004, 01:46 PM   #11
Cryptic_K
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Original Poster
Rep: Reputation: 0
hm.. i got everything working fine.. i'm on slackware right now.. i'm not sure why it worked, i just ran netconfig, selected dchp, and pressed enter for everything. then i rebooted.. after that, it worked. i think i didn't reboot the first time, which is why it didn't work. Thanks everybody for helping me!
 
Old 08-23-2004, 06:35 PM   #12
NumbSkullMD
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware 10.0
Posts: 17

Rep: Reputation: 0
It's probably not necessary to restart your computer. Just do what @gyodai said and restart /etc/rc.d/rc.inet1 as root.

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slackware network setup help roc Slackware 20 12-17-2005 10:26 AM
Setup network for Internet mickeyboa Suse/Novell 3 08-28-2005 08:58 PM
Network Printer Setup on Slackware 9.1 seagoj Linux - Networking 1 04-03-2004 05:18 PM
How to setup home network(sharing adsl internet connection) faidzullah Linux - Newbie 2 10-14-2003 12:19 PM
internet / network setup darazman Linux - Networking 2 08-21-2003 07:02 PM


All times are GMT -5. The time now is 04:47 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration