LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-05-2003, 06:51 AM   #1
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Rep: Reputation: 15
Help getting internet to work on Slackware 9.1


I'm using Slackware 9.1 (KDE) and when I installed it I chose "no modem" since my router wasn't working as it should but now everything's fixed and I can't figure out how to get internet running from Slackware. I've looked in Control Panel but probably missed something.
I have Realtek RTL8139/810X Family PCI Fast Ethernet NIC.

Last edited by NomDeGuerre; 11-05-2003 at 07:04 AM.
 
Old 11-05-2003, 09:00 AM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
when you have a router that actually establishes the internet connection you just need to adjust your network configuration.

i do not know where slackware stores it's network config. it should be in /etc/network or /etc/sysconfig or something alike.
 
Old 11-05-2003, 09:07 AM   #3
makkintosh
Member
 
Registered: Nov 2003
Location: Moscow-city
Distribution: Gentoo Forever
Posts: 40

Rep: Reputation: 15
i've got another problem.
i've got U.S. Robotics 56K Voice Win modem
so it means that i cant access internet from linux (slackware 9 +kde)?

i spent a lot of time serfing faqs , tables linux - drivers for winmodems BUT!
there are no drivers for my one. (2974)

maybe i missed something and there is some info about runnin my modem for *nix?

thanx!!!
 
Old 11-05-2003, 10:33 AM   #4
cartridge
Member
 
Registered: Sep 2003
Location: BRAZIL
Distribution: Slackware 9.0.0
Posts: 31

Rep: Reputation: 15
Sorry if i didn't get your point but here is the thing
if you got a Realtek Ethernet card and access to internet via DHCP all you have to do is the following:
modprobe 8130too ( this will load the realtek module )
than you type netconfig and choose to access via DHCP.
and about your modem, here is the shit, i tryed to use a winmodem in 2001 with kernel 2.2.x
the module could connect for about 10 minutes than i got disconnect
sorry about the bad English.
 
Old 11-05-2003, 11:17 AM   #5
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
markus1982: I found net.conf in /etc/sane.d
It says:

# This is the net congig file. Each line names a host to attach to.
# If you list "localhost" then your backends can be accessed either
# directly or through the net backend. Going through the net backend
# may be necessary to access devices that need special privileges.
# localhost


What now?


cartridge: modprobe 8130too? I don't think I understand what you mean. What do I need to do to load the Realtek module?
 
Old 11-05-2003, 11:22 AM   #6
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
I logged in as root and typed "netconfig" in konsole.
Now I'm supposed to enter hostname. What should I write?
 
Old 11-05-2003, 11:25 AM   #7
cartridge
Member
 
Registered: Sep 2003
Location: BRAZIL
Distribution: Slackware 9.0.0
Posts: 31

Rep: Reputation: 15
the name of your machine like MYLINUXBOX
you'll be asked for domain and stuff if unsure just hit enter
but dont forget to select DHCP when asked for.
 
Old 11-05-2003, 11:43 AM   #8
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
HOSTNAME: hostname
DOMAIN NAME: domain.net

Now, when I get to DHCP I don't know what to put there so I just hit enter.
But I still can't get into internet. Do I have to type something in the DHCP-thing? If so, how do I find out what?

Last edited by NomDeGuerre; 11-05-2003 at 12:08 PM.
 
Old 11-05-2003, 12:30 PM   #9
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
I tried choosing static IP and just hitting enter but that didn't work either.
 
Old 11-05-2003, 12:37 PM   #10
slightcrazed
Member
 
Registered: May 2003
Location: Lisbon Falls, Maine
Distribution: RH 8.0, 9.0, FC2 - 4, Slack 9.0 - 10.2, Knoppix 3.4 - 4.0, LFS,
Posts: 789

Rep: Reputation: 30
log in as root and paste the output of ifconfig eth0 and lsmod. I want to see if the module is loading correctly, and if loopback is configured on your card.

slight
 
Old 11-05-2003, 01:03 PM   #11
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
Link encap: Local Loopback
inet addr: 127.0.0.1 Mask: 255.0.0.0
UP LOOPBACK RUNNING MTU: 16436 Metric: 1

Link encap: Ethernet HWaddr 00:50:BF:E6:7B:4E
BROADCAST MULTICAST MTU:1500 Metric: 1

There was some other stuff about packages sent and stuf that I didn't think was important. I'm wriring everything up on a piece of paper and then type it up on this computer so I'm trying to save some time
About the lsmod, what exactly should I show you from there? I'd rather not start writing everything up if I don't have to.
 
Old 11-05-2003, 03:34 PM   #12
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
Just let me know if there's anything else you need to know to help me out.
 
Old 11-05-2003, 06:55 PM   #13
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
This is almost at the second page so I'm giving it a li'l bump.
 
Old 11-06-2003, 05:57 AM   #14
spurious
Member
 
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558

Rep: Reputation: 31
I'm responding to your new thread

Your original post stated that you have a Realtek RTL8139/810X Family PCI Fast Ethernet NIC, and that you have a router. I will assume that you have no modem, but you connect to the internet like so: ethernet NIC -- > router --> ISP. Please correct me if you in fact use a modem rather than the ethernet NIC --> router connection.

Your ifconfig output indicates that your ethernet NIC is recognized as eth0. No need to worry about modules.

Your network configuration file is /etc/rc.d/rc.inet1. Fortunately, Patrick V. of Slackware comments rc.inet1 extensively, so it is easy to figure out. Look for the following section:

# Edit these values to set up your first Ethernet card (eth0):
#IPADDR="192.168.0.1 # REPLACE with YOUR IP address!
NETMASK="255.255.255.0" # REPLACE with YOUR netmask!
# Or, uncomment the following lines to set up eth0 using DHCP:
USE_DHCP=yes

Chances are, your router will assign your ethernet NIC with an address through DHCP. Therefore leave the USE_DHCP=yes line uncommented.

Next, edit /etc/resolv.conf and add the following line:

nameserver 12.34.56.78

Where 12.34.56.78 is the DNS nameserver address for your ISP. If you don't know what it is, call your ISP support, or check your ISP's support website for it. /etc/resolv.conf is necessary to resolve the URLs.

Hostname is simply the name of your computer box. You can choose anything you want. Similarly, domain name is the domain of your home network; you can leave it blank, or put anything you want. These two environment variables do not affect internet connection.

If it is necessary to specify actual hostnames with IP addresses, then edit /etc/hosts eg. if you want to explicitly define your ISP's mailserver, then put

12.34.56.90 mail.isp.com

in /etc/hosts, where 12.34.56.90 is the IP address of your ISP's mailserver.
 
Old 11-06-2003, 06:08 AM   #15
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
I do use a modem. Sorry for not leaving that out, didn't know that one could connect to the ISP with a router and no extra modem.
 
  


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
I've got an IP but can't get internet to work! tentolga Linux - Networking 14 08-30-2004 06:04 PM
Cant get internet to work spuppett Linux - Wireless Networking 6 08-28-2004 12:40 PM
Getting internet to work. [Slackware 9.1] NomDeGuerre Linux - Newbie 2 11-06-2003 05:54 AM
Internet doesn't work! zaphanol Linux - Networking 22 07-29-2003 01:12 PM
Help!!!!!!!!!!!!!! Internet does not work? xRomEo Linux - Networking 0 10-02-2002 02:23 PM


All times are GMT -5. The time now is 02:27 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration