LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-04-2007, 07:09 PM   #1
chike
Member
 
Registered: May 2007
Posts: 35

Rep: Reputation: 15
how can i get the internet on slackware 11?


hi, i'm having problems accessing the internet with linux. i tried using netconfig to configure my ip address, dhcp gateway, and my subnet mask, and i have no luck. i don't exactly understand linux yet so any help could be appreciated, thanks.

this is what i have from ipconfig:

Windows IP Configuration

Host Name . . . . . . . . . . . . : what-dd7cb8280e
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : Belkin

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : Belkin
Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethe
rnet NIC
Physical Address. . . . . . . . . : 00-13-D3-22-21-21
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.2.35
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.2.1
DHCP Server . . . . . . . . . . . : 192.168.2.1
DNS Servers . . . . . . . . . . . : 192.168.2.1
Lease Obtained. . . . . . . . . . : Friday, May 04, 2007 11:56:27 AM
Lease Expires . . . . . . . . . . : Monday, January 18, 2038 8:14:07 PM

i am using slackware 11.0 with linux kernel 2.4, and my ISP is comcast but i am behind a belkin router

Last edited by chike; 05-05-2007 at 10:40 AM.
 
Old 05-04-2007, 07:29 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
If you have DHCP, use 'netconfig' but don't set any IP. That's the job of DHCP.
 
Old 05-04-2007, 07:47 PM   #3
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Rep: Reputation: 120Reputation: 120
You did not say how you are connecting. Are you on a single box connected to an adsl router configured by your isp? are you on a lan and accessing the net via a gateway box.

Your settings would be different.

I just did a win2k standalone box with isp provided modem by hand and all I had to tell it is that protocol was tcp/ip, authentication was dhcp, and the isp's primary and secondary dns were this and that.

Slackware's netconfig expects little more in the same situation. Do not assign an ip a standalone box in this situation.

If you are on a lan and the lan has fixed ip enter box ip and ip of gateway. In this situation, most probably the gateway negotiates connection with isp and the modem is in bridge mode in which cas you provid isp's primary and secondary dns when netconig asks.
 
Old 05-05-2007, 10:27 AM   #4
chike
Member
 
Registered: May 2007
Posts: 35

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by H_TeXMeX_H
If you have DHCP, use 'netconfig' but don't set any IP. That's the job of DHCP.
ok i tried using netconfig to set it to dchp and it didn't work
 
Old 05-05-2007, 10:37 AM   #5
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Have you tried running pppoe-setup?
 
Old 05-05-2007, 10:40 AM   #6
chike
Member
 
Registered: May 2007
Posts: 35

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by allend
Have you tried running pppoe-setup?
how do i do that?

also how do i install the lisa daemon? i use kde to browse linux.
 
Old 05-05-2007, 10:47 AM   #7
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
From KDE, Start -> System -> Konsole.
Get to be root by typing su Enter (if you are not logged in as root)
Type pppoe-setup Enter.
 
Old 05-05-2007, 11:12 AM   #8
chike
Member
 
Registered: May 2007
Posts: 35

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by allend
From KDE, Start -> System -> Konsole.
Get to be root by typing su Enter (if you are not logged in as root)
Type pppoe-setup Enter.
ok i set up pppoe and i tried starting it but it kept timing out
 
Old 05-05-2007, 11:24 AM   #9
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
What is the output of ifconfig? (Run ifconfig in a Konsole window).
 
Old 05-05-2007, 01:21 PM   #10
Infohungry
LQ Newbie
 
Registered: May 2007
Distribution: Slackware 11
Posts: 16

Rep: Reputation: 0
Angry Help!!

I am having the same problem. I have a linksys Wireless G and Ethernet Router. I also have dsl, and when I try to get to the internet, No work. Just for fun, i tried getting into the router, and it worked, so I definatley have a way out, as far as the router. Does anyone know how to get farther than just the router?

Windows IPCONFIG info:
Connection-Specific DNS Suffix: ZyZMG456
Ip Address: 192.168.1.100
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1

Please Help! I am a

I have slackware Linux 11 with the 2.4 kernel
 
Old 05-05-2007, 01:45 PM   #11
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Infohungry,

When you say you can get to the router, how do you know? If you can get to the router but not out to the internet it could be a DNS issue. Try pinging an external server using the ip address not the name. DNS servers are set in the file /etc/resolv.conf, so you might have a look at this,too. Post the output from ifconfig and, if you are connecting via wireless to your router, the output of iwconfig as well.

Brian
 
Old 05-05-2007, 02:24 PM   #12
Infohungry
LQ Newbie
 
Registered: May 2007
Distribution: Slackware 11
Posts: 16

Rep: Reputation: 0
When I mean I can get to the router, i mean that I can enter 192.168.1.1 in my web browser, and it will bring up a sign in, when sign in, I can get to the router's internal utility and setup. You mean ping, as in just enter the ip address into the adress bar of my browser and see if that will work, or use telnet?

Last edited by Infohungry; 05-05-2007 at 02:26 PM.
 
Old 05-05-2007, 02:38 PM   #13
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
No, I mean open a terminal/konsole and type "ping 64.233.187.99" and post the output.

Brian
 
Old 05-05-2007, 03:07 PM   #14
Infohungry
LQ Newbie
 
Registered: May 2007
Distribution: Slackware 11
Posts: 16

Rep: Reputation: 0
I typed, I pinged, I got a reply

Ok, i did what you told me to, and got a huge long list of replies from that address. Here are some of them.


64 Bytes from 64.233.187.99: icmp_seq=3 ttl=241 Time= 77.5 ms

Those are all the same except the seq= and the time varies alittle.
 
Old 05-05-2007, 03:09 PM   #15
Tux-Slack
Member
 
Registered: Nov 2006
Location: Slovenia
Distribution: Slackware 13.37
Posts: 511

Rep: Reputation: 37
change your /etc/resolv.conf file
enter in there
nameserver IP_of_router
or what i do
nameserver IP_OF_ISP_DNS_1
nameserver IP_OF_ISP_DNS_2
thats for Infohungrys problem

and chike:
if your interface is eth0(witch probably is)
try typing
ifconfig eth0 down
ifconfig eth0 IP_of_router up
and then edit /etc/resolv.conf as i said above
 
  


Reply



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 10.1 and internet Anak1n Linux - Wireless Networking 1 01-16-2006 06:41 PM
No Internet using Slackware 10.0 hadhad Linux - Networking 1 06-22-2005 10:59 AM
HELP with Internet On Slackware 10.0 thomasplock Linux - Hardware 7 10-01-2004 07:16 PM
Slackware - CAn't Go On INternet RealmX Slackware 1 12-31-2003 12:50 PM
No internet on slackware 9 jr6676 Slackware 9 08-05-2003 08:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:59 PM.

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
Open Source Consulting | Domain Registration