LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware is amazing but I can't access the internet. (https://www.linuxquestions.org/questions/slackware-14/slackware-is-amazing-but-i-cant-access-the-internet-291112/)

Mr. Hill 02-16-2005 05:07 PM

Slackware is amazing but I can't access the internet.
 
Did I not configure my server correctly? How do I get onto the internet? without it I'm really bored. Thanks for the help.

...I did skip a whole chunk of the installation because my friend said it was pointless. I think it was the modem section or something, could this be the problem?

Wartz 02-16-2005 05:10 PM

If you have a modem them it could be a problem. Why dont you tell us what type of connection you have, then maybe we can get somehwere.

Mr. Hill 02-16-2005 05:12 PM

Connection? Like DSL or something?

I have DSL/Cable I think, nothing like T1 or T3.

I think I have a modem, but I didn't install it for Slackware.

egag 02-16-2005 05:16 PM

well...you gotto be clear here....

-do you have some kind of card in your pc, wich connects to the phone-line

or

-do you have a separate small box( modem or so ) that connects one side to your pc, ( maybe ethernet or usb ) , and the other to the phone-line.

and can you specify the type of card/modem ?

egag

Wartz 02-16-2005 05:23 PM

as root, run
Code:

netconfig
If you have a pretty much standard DSL connection, the options should be pretty easy.

Hostname: give your comp some kind of name
domain name: Not really needed, just put in blah.com if you want.
Setup IP address: picking the default DHCP should work.
DHCP hostname: you prolly wont need to enter anything, just hit enter
Finish up: hit ok.

Now exit root and type

Code:

/etc/rc.d/rc.inet1 start
See what happens.

Mr. Hill 02-16-2005 05:23 PM

The latter of the two options.

There's a small and narrow thing that says "2WIRE" on it with three neon green lights. I know I have DSL, I just got confused.

Card and modem? Eep, I don't know internet stuff.. Whenever I boot into Slack it says:

Could not connect to the server

Or something like that. I know I'm sounding a bit newbish here but I'm kind of confused. The thing that puzzles me the most is that my internet works just fine in Win, which leads me to believe that I installed it incorrectly.

Mr. Hill 02-16-2005 05:24 PM

OK thanks Wartz - I'll try it.

mcd 02-16-2005 05:42 PM

if it's still not working, as post the results of the following commands (run as root):

lsmod
lspci
ifconfig
grep eth0 dmesg
grep dhcp dmesg


and just to be clear, you're talking about a desktop computer with a wired connection right? you're not talking about a wireless card right?

Mr. Hill 02-16-2005 05:46 PM

OK, if I log out it'll boot me to a line that says:

(my username)@darkstar~#

How do I get into the root command line to do all of this?

Wartz 02-16-2005 05:52 PM

Code:

su
is the magic key :)

and you dont have to logout to do all this, just open a console.

mcd 02-16-2005 06:27 PM

yup, su is great. as for consoles, i think xterm is the slackware default...but which one appears in your menu will depend on which window manager you're using. gnome usually has a button on the panel called gnome-terminal, and 3-4 other terminals buried somewhere in the application menu. fluxbox i think usually has xterm. don't know about KDE, but i seem to remember something about ALT+F2....

detpenguin 02-16-2005 06:44 PM

my advice...it's soon enough that you won't lose anything...reinstall slack, and this time follow the menu....at the network part, you can set a name for your box (so it won't be darkstar..it can be any name you want) and then at the network configuration, choose DHCP and all will be well with you and the internet....slack will find your card, and your connection and you'll be all set to go....thats what i would do.

mcd 02-16-2005 06:51 PM

instead of reinstalling, just run netconfig from a terminal. i think that's the script that's run during setup anyway, and it will save you the whole reinstalling thing.

vharishankar 02-16-2005 07:56 PM

How do I choose different ethernet interfaces in netconfig (like eth0 and eth1)? I have two ethernet ports (one for LAN and one for internet).

I use a static IP so I cannot using DHCP. I have all the settings with me, only I cannot seem to select which interface to configure. :(

Thanks.

Mr. Hill 02-16-2005 07:59 PM

OK, I entered "su" in the console and terminal and it asks me for a password. I give it my root password and it tells me "Sorry". After the sorry it goes back to the line "(insert something here)@darkstar~#". I don't really want to reinstall, and if I do I might install something else because I always like to be expirimental (freeBSD maybe?).


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