Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-14-2006, 11:23 PM
|
#1
|
Member
Registered: Mar 2006
Location: Planet Earth
Distribution: Debian Linux (Testing)
Posts: 32
Rep:
|
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.
|
|
|
07-14-2006, 11:31 PM
|
#2
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Rep:
|
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.
|
|
|
07-15-2006, 07:39 PM
|
#3
|
Member
Registered: Jan 2005
Location: U.S.A
Distribution: Slackware, Windows
Posts: 84
Rep:
|
What hardware do you have?
|
|
|
07-16-2006, 12:32 PM
|
#4
|
Member
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware, OpenBSD
Posts: 305
Rep:
|
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.
|
|
|
07-19-2006, 10:26 PM
|
#5
|
Member
Registered: Mar 2006
Location: Planet Earth
Distribution: Debian Linux (Testing)
Posts: 32
Original Poster
Rep:
|
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
|
|
|
07-19-2006, 10:29 PM
|
#6
|
Member
Registered: Mar 2006
Location: Planet Earth
Distribution: Debian Linux (Testing)
Posts: 32
Original Poster
Rep:
|
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
|
|
|
07-20-2006, 12:56 AM
|
#7
|
Member
Registered: Mar 2006
Location: Planet Earth
Distribution: Debian Linux (Testing)
Posts: 32
Original Poster
Rep:
|
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
|
|
|
07-20-2006, 01:03 AM
|
#8
|
Member
Registered: Mar 2006
Location: Planet Earth
Distribution: Debian Linux (Testing)
Posts: 32
Original Poster
Rep:
|
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
|
|
|
07-20-2006, 01:25 AM
|
#9
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Rep:
|
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?
|
|
|
07-20-2006, 01:53 AM
|
#10
|
LQ Newbie
Registered: Mar 2005
Location: Texas
Distribution: Slackware 10.1
Posts: 10
Rep:
|
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:
site http://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.
|
|
|
07-21-2006, 12:28 AM
|
#11
|
Member
Registered: Mar 2006
Location: Planet Earth
Distribution: Debian Linux (Testing)
Posts: 32
Original Poster
Rep:
|
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
|
|
|
07-21-2006, 01:51 PM
|
#12
|
Member
Registered: Mar 2006
Location: Planet Earth
Distribution: Debian Linux (Testing)
Posts: 32
Original Poster
Rep:
|
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
|
|
|
08-03-2006, 08:56 PM
|
#13
|
Member
Registered: Mar 2006
Location: Planet Earth
Distribution: Debian Linux (Testing)
Posts: 32
Original Poster
Rep:
|
does anyone else have any ideas
|
|
|
08-03-2006, 09:11 PM
|
#14
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
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...)
|
|
|
08-04-2006, 02:51 AM
|
#15
|
LQ Newbie
Registered: Mar 2005
Location: Texas
Distribution: Slackware 10.1
Posts: 10
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 09:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|