LinuxQuestions.org
Visit Jeremy's Blog.
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 07-14-2006, 11:23 PM   #1
IM2Slick
Member
 
Registered: Mar 2006
Location: Planet Earth
Distribution: Debian Linux (Testing)
Posts: 32

Rep: Reputation: Disabled
Question Can't access the Internet


I have installed Slackware 10.2, but can't seem to access the Internet with the Firefox icon OR the Konqueror icon. I have tried some other Linuxes, but they automatically connected to the internet, so I don't know what to do to make it work. also, I can't figure out how to make it come up in the GUI, insted of the CLI, so I have to type in "startx" just to get the GUI. then, when I log out, it goes to the CLI and "shutdown -h now" or "halt" do not work, even though that's what I found in the man pages. Is this the norm for Slackware?? If so, I guess I'm not reqady for the higher classed distrobutions yet. Being fairly new to linux, I'm totally confused as to what to do to make this work better. Ubuntu, Knoppix and Mepis worked well for me, but I wanted to go on to a better learning experience, and not have Windows wannabe's for my OS of choice. Can someone give me a little guidance here? Thank You.
 
Old 07-14-2006, 11:31 PM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
Quote:
can't seem to access the Internet with the Firefox icon OR the Konqueror icon.
whats the output of 'lspci | grep Ethernet', 'lsmod', and 'ifconfig eth0'? do you connect to the internet via a router with DHCP? or just straight to a modem?

Quote:
I can't figure out how to make it come up in the GUI, insted of the CLI, so I have to type in "startx" just to get the GUI.
edit /etc/initttab change the default run level from, i believe, '3' to '4'. it should be documented in that file so just check it out. save and after rebooting should go to the GUI login manager.

Quote:
"shutdown -h now" or "halt" do not work, even though that's what I found in the man pages.
was there an error displayed? if so what was it? maybe you need to 'su' to root first to run the command?

Quote:
I wanted to go on to a better learning experience,
slackware is a great choice for that

hope this helps.

edit: if you ever get permission denied after running a command, then run 'su' [enter], then run the command again. youll need to use 'su' first before editing the /etc/inittab file too.

Last edited by nadroj; 07-14-2006 at 11:33 PM.
 
Old 07-15-2006, 07:39 PM   #3
hirts123
Member
 
Registered: Jan 2005
Location: U.S.A
Distribution: Slackware, Windows
Posts: 84

Rep: Reputation: 15
What hardware do you have?
 
Old 07-16-2006, 12:32 PM   #4
Noryungi
Member
 
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware, OpenBSD
Posts: 305

Rep: Reputation: 53
OK, how do you connect to the Internet usually? Do you have a cable modem, adsl, a router, a 56K modem?

Then, have you configured PPP (for a 56K modem) correctly? If you are using an ADSL or Cable modem, how do you connect it to your machine (USB port, Ethernet)? If you are using a router, have you configured your network parameters -- including DHCP -- correctly?

In short, "connecting to the Internet" is too generic to be useful here. You need to give us more information about your setup.
 
Old 07-19-2006, 10:26 PM   #5
IM2Slick
Member
 
Registered: Mar 2006
Location: Planet Earth
Distribution: Debian Linux (Testing)
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by nadroj
whats the output of 'lspci | grep Ethernet', 'lsmod', and 'ifconfig eth0'? do you connect to the internet via a router with DHCP? or just straight to a modem?

edit /etc/initttab change the default run level from, i believe, '3' to '4'. it should be documented in that file so just check it out. save and after rebooting should go to the GUI login manager.

was there an error displayed? if so what was it? maybe you need to 'su' to root first to run the command?

slackware is a great choice for that

hope this helps.

edit: if you ever get permission denied after running a command, then run 'su' [enter], then run the command again. youll need to use 'su' first before editing the /etc/inittab file too.


Thanks for your post, I have to copy and past from an editor to give you that info, I will try to get back to you in a short time
 
Old 07-19-2006, 10:29 PM   #6
IM2Slick
Member
 
Registered: Mar 2006
Location: Planet Earth
Distribution: Debian Linux (Testing)
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hirts123
What hardware do you have?
HP Pavilion with AMD Semperon processor - 3100+ Onboard Sis nic, etc. I have a Linksys wireless USb, but haven't been able to get it fired up with Linux
 
Old 07-20-2006, 12:56 AM   #7
IM2Slick
Member
 
Registered: Mar 2006
Location: Planet Earth
Distribution: Debian Linux (Testing)
Posts: 32

Original Poster
Rep: Reputation: Disabled
lspci | grep Ethernet
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 90)

lsmod
Module000000000Size000Used000By000Not Tainted
snd-pcm-oss00000367360000000(unused)
snd-mixer-oss0000123760000000(snd-pcm-oss
parport_pc0000000150440001000(autoclean)
lp0000000000000064040000000(autoclean)
parport0000000000228240001000(autoclean)[parport_pc lp]
snde-intel8x000000183040002
snd-ac97-codec000585560000000[snd-intel8x0]
snd-pcm000000000543340001000[snd-pcm-oss snd-mixer-oss snd-ac97-codec]
snd-timer00000000137640001000[snd-pcm]
snd0000000000000327720000000[snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer]
soundcore000000033960004000[snd]
snd-page-alloc000047120000000[snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd]
usb-ohci000000000193680000000(unused)
usbcore0000000000591480001000[usb-ohci]
SiS 900000000000127800001
crc320000000000002880000[SiS 900]
ohcil139400000000238880000000(unused)
ieee1394000000000416360000000[ohcil1394]
pcmcia_core0000000391720000
ide-scsi00000000000093920000

ifconfig eth0
ETH0 link encap:Ethernet HWaddr 00:13: D4: DB:3C:99
inet addr: 192.168.1.101 Bcast: 192.168.1.255 Mask 255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:62 errors:0 dropped:0 overruns:0 frame:0
TX packets:62 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8198 (8.0 Kb) TX bytes:2462 (2.4 Kb)
Interrupt:10 Base Address:0xa800
 
Old 07-20-2006, 01:03 AM   #8
IM2Slick
Member
 
Registered: Mar 2006
Location: Planet Earth
Distribution: Debian Linux (Testing)
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Noryungi
OK, how do you connect to the Internet usually? Do you have a cable modem, adsl, a router, a 56K modem?
DSL line to DSL Modem to Router to computer

Quote:
Originally Posted by Noryungi
Then, have you configured PPP (for a 56K modem) correctly? If you are using an ADSL or Cable modem, how do you connect it to your machine (USB port, Ethernet)?
Ethernet cable from router
Quote:
Originally Posted by Noryungi
If you are using a router, have you configured your network parameters -- including DHCP -- correctly?
Yes
 
Old 07-20-2006, 01:25 AM   #9
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
ok so you do have the proper driver loaded for your NIC, and you do have an IP address assigned from your DHCP server/router.

try posting the output of 'ping 192.168.1.1', 'ping google.com', and 'ping 64.233.187.99'

is there other computers connected to this router too? if so, can they access any internet resources?
 
Old 07-20-2006, 01:53 AM   #10
drwilsontx
LQ Newbie
 
Registered: Mar 2005
Location: Texas
Distribution: Slackware 10.1
Posts: 10

Rep: Reputation: 0
Slackware 10.2

Quote:
Originally Posted by IM2Slick
I have installed Slackware 10.2, but can't seem to access the Internet with the Firefox icon OR the Konqueror icon. I have tried some other Linuxes, but they automatically connected to the internet, so I don't know what to do to make it work. also, I can't figure out how to make it come up in the GUI, insted of the CLI, so I have to type in "startx" just to get the GUI. then, when I log out, it goes to the CLI and "shutdown -h now" or "halt" do not work, even though that's what I found in the man pages. Is this the norm for Slackware?? If so, I guess I'm not reqady for the higher classed distrobutions yet. Being fairly new to linux, I'm totally confused as to what to do to make this work better. Ubuntu, Knoppix and Mepis worked well for me, but I wanted to go on to a better learning experience, and not have Windows wannabe's for my OS of choice. Can someone give me a little guidance here? Thank You.

To shutdown from CLI, you have to edit /etc/sudoers and add group shutdown
try this link:
sitehttp://www.ma.utexas.edu/users/stirl.../shutdown.html

but editing /etc/inittab to runlevel 4is a better way

# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:

As far as accessing the internet, check /etc/rc.d/rc.inet1.conf and make sure use_dhpc="yes" on eth0
or run /sbin/netconfig again as root and reenter your hostname,domain and so on

Last edited by drwilsontx; 07-20-2006 at 02:04 AM.
 
Old 07-21-2006, 12:28 AM   #11
IM2Slick
Member
 
Registered: Mar 2006
Location: Planet Earth
Distribution: Debian Linux (Testing)
Posts: 32

Original Poster
Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by nadroj
ok so you do have the proper driver loaded for your NIC, and you do have an IP address assigned from your DHCP server/router.

try posting the output of 'ping 192.168.1.1', 'ping google.com', and 'ping 64.233.187.99'

is there other computers connected to this router too? if so, can they access any internet resources?
nadroj I'll get back to you on the "pings", but there are three computers connected to this router. It is a Linksys wireless router and all three computers have windows and connect to the internet. I have a dual boot on one of them and am able to access the Internet with my computer on windows, DSL live, Ubuntu live, and BeatrIX live with no problems. I should also tell you that I have a Cat5 cable direct from one of the ports on the router to the computer, because the wireless adapter doesn't work in Linux (so far, but soon I hope) <crosses fingers>.

Quote:
Originally Posted by drwilsontx
As far as accessing the internet, check /etc/rc.d/rc.inet1.conf and make sure use_dhpc="yes" on eth0
or run /sbin/netconfig again as root and reenter your hostname,domain and so on
drwilsontx I was able to edit /etc/inittab to start up in runlevel 4, so the startup and shutdown problems are taken care of. THX: . I'm going to sign off and try those things right now, Thanks
 
Old 07-21-2006, 01:51 PM   #12
IM2Slick
Member
 
Registered: Mar 2006
Location: Planet Earth
Distribution: Debian Linux (Testing)
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by drwilsontx
As far as accessing the internet, check /etc/rc.d/rc.inet1.conf and make sure use_dhpc="yes" on eth0
or run /sbin/netconfig again as root and reenter your hostname,domain and so on
drwilsontx I did check "/etc/rc.d/rc.inet1.conf" and to make sure "use_dhpc="yes"" is on the section for eth0. I also tried running "/sbin/netconfig" as root, but I'm a bit confused as to what to put in there. To find my IP address I had to shutdown and go to windows and I got this:

Code:
VMware UMnet8
IP - 192.168.127.1

VMware UMnet1
IP - 192.168.126.1

Local Area connection
DNS suffix - domain.invalid
IP - 192.168.1.103
Default gateway - 192.168.1.1

Wireless Network 2
DNS suffix - domain.invalid
IP - 192.168.1.101
Default gateway - 192.168.1.1
I have tried every one of those IP addy's, along with the Default Gateway, but have had no success. The part that confuses me is that I put in a hostname (let's just say "Slackware" for the sake of argument); The next question asks me for a domain .... I don't have a domain, but I have tried "Slackware".com, .net, and .org (as given in the example); but none seem to bring any results. I have also tried with static IP (that's what we have from our ISP) and with DHCP, neither worked. When I tried static IP I put in the numbers of the "Primary DNS Server" for my ISP, but failed once again. Could this be the problem, or is there something else I'm not aware of.

I know it probably bug's you folks to hold a newbie's hand like this, but I'm here to learn, and I hope to get the answers to these problems. I appreciate the help you folks are giving me Thanks
 
Old 08-03-2006, 08:56 PM   #13
IM2Slick
Member
 
Registered: Mar 2006
Location: Planet Earth
Distribution: Debian Linux (Testing)
Posts: 32

Original Poster
Rep: Reputation: Disabled
does anyone else have any ideas
 
Old 08-03-2006, 09:11 PM   #14
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Ok...from what I could glean from this post (Please verify this is correct as of this moment with lspci, lsmod, ifconfig):
  • Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 90)
  • SiS 900 (module)
  • 192.168.1.1 (IP Address of your Linksys router/ IP of gateway (Look in /etc/rc.d/rc.inet1.conf to make sure it is in there too)
  • 192.168.1.101 IP address of this machine
Is all the above correct? (I want to be sure before we go any farther...)
 
Old 08-04-2006, 02:51 AM   #15
drwilsontx
LQ Newbie
 
Registered: Mar 2005
Location: Texas
Distribution: Slackware 10.1
Posts: 10

Rep: Reputation: 0
hostname

Quote:
Originally Posted by IM2Slick
drwilsontx I did check "/etc/rc.d/rc.inet1.conf" and to make sure "use_dhpc="yes"" is on the section for eth0. I also tried running "/sbin/netconfig" as root, but I'm a bit confused as to what to put in there. To find my IP address I had to shutdown and go to windows and I got this:

Code:
VMware UMnet8
IP - 192.168.127.1

VMware UMnet1
IP - 192.168.126.1

Local Area connection
DNS suffix - domain.invalid
IP - 192.168.1.103
Default gateway - 192.168.1.1

Wireless Network 2
DNS suffix - domain.invalid
IP - 192.168.1.101
Default gateway - 192.168.1.1
I have tried every one of those IP addy's, along with the Default Gateway, but have had no success. The part that confuses me is that I put in a hostname (let's just say "Slackware" for the sake of argument); The next question asks me for a domain .... I don't have a domain, but I have tried "Slackware".com, .net, and .org (as given in the example); but none seem to bring any results. I have also tried with static IP (that's what we have from our ISP) and with DHCP, neither worked. When I tried static IP I put in the numbers of the "Primary DNS Server" for my ISP, but failed once again. Could this be the problem, or is there something else I'm not aware of.

I know it probably bug's you folks to hold a newbie's hand like this, but I'm here to learn, and I hope to get the answers to these problems. I appreciate the help you folks are giving me Thanks

Hostname is the name of your system in your network, the domain is yoour network domain, within your lan( not the internet), mine is theduke.tdn ( John Wayne fan)**Not your internet domain** , it's just a name for your network it doesn't make a difference what you name it. Just make sure dhcp is on, it will get a network addy from your router,


/etc/rc.d/rc.inet1.conf

# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"


# Default gateway IP address:
GATEWAY=""

that is what is listed in the relevant sections if /etc/rc.d/rc.inet1.conf for my desktop, connected to my router. Is this a wireless connection? to find your ip address in linux

ifconfig

will give you the info
 
  


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
vsftp - Can access FTP within office network BUT cant access via Internet! kokfei77 Red Hat 2 03-07-2012 08:24 PM
Debian Woody: Can't access internet through router, but can access network computers marales314 Linux - Networking 3 06-09-2006 01:33 PM
I can access router settings but no internet access overclock Linux - Wireless Networking 7 12-13-2005 08:59 PM
WIFI WLAN / Cannot access internet but can access the router configuration page?SUSE thomas939 Linux - Wireless Networking 12 12-13-2005 11:28 AM
Connection to access point OK, but cannot access the network/internet Nymphetamine Linux - Wireless Networking 29 01-13-2005 03:59 PM

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

All times are GMT -5. The time now is 09:42 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
Open Source Consulting | Domain Registration