LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-01-2004, 03:05 PM   #1
Guayacan
LQ Newbie
 
Registered: Dec 2003
Location: Caracas, Venezuela
Distribution: Slackware
Posts: 18

Rep: Reputation: 0
cannot conect to internet


Hi

Sended this e-mail to the network forum... then found this one out, and here it is. Don't know if i shouldn't send the same questions to two forums, but maybe someone here can give a hand:

I've asked similar questions in the last few days, but i think that finally -or so i hope- i'm beggining to understand what my problems is. And please, don't laught . I have four CPUs, three of them runing Windows, and a forth running Slackware 9.1 wich i installed last week . I have two problems, wich i think should be threated differently:

i.- I want to connect to the internet (So i can finally download octave!). I have a Realteck RTL8019 card. The four computers and my whideband cable conection are conected through a HUB. Using the command network on the installation the only controler wich worked was dummy. then i runned ifconfig dummy0 up. To check that i can conect with something i typed ping 127.0.0.1, and got a series of messages like: 64 bytes from.... until Ctrl-C. So, i believe my card is working. From what I've read on the manuals, i believe i should now use dhclient. When i run dhclient dummy0 i get: dummy0: not found. it could be (that has to be a problem) that my dhclient.conf file is empty... ¿how do i configure it? Maybe i'm on the wrong track all along... is this the correct way to setup an internet conection?

ii.- I want to connect to my LAN. I believe that samba is the right tool. I made a smb.conf file from the smb.conf - sample file, some manuals and http://hr.uoregon.edu/davidrl/samba-unofficial.html. but i have no idea about how to acces the files on the other machines! do i have to mount them (if so, how)?

After installing Slack, ¿what must one do to be able to conect to the internet? ¿if there a standar proccedure?

I'm a newbie eager to learn, but need to get this done before i start classes again!

Thanks a lot.
 
Old 01-01-2004, 03:57 PM   #2
poison
Member
 
Registered: Dec 2003
Location: Layer 7 =D
Distribution: Slackware, LFS, Rock Linux
Posts: 165

Rep: Reputation: 30
1. run netconfig ... I'll just assume you'll know what settings you have to put in there ^^
/etc/rc.d/rc.inet1 stop
/etc/rc.d/rc.inet1 start

you should be able to connect to www....

2. edit /etc/fstab...
add a line like
/<server>/<direcory> /mnt/<mountpoint> smbfs username=<username>,password=<password>,gid=users,uid=<username>,umask=000,workgroup=<workgroup>,ioc harset=iso8859-1,codepage=cp850,users,exec,rw,noauto 0 0

save...

create the mountpoint:
mkdir /mnt/<mountpoint>

type:
mount /mnt/<mountpoint>

connected ^^

assuming you have support for the smb network filesystem compiled in your kernel =P
 
Old 01-01-2004, 04:39 PM   #3
Guayacan
LQ Newbie
 
Registered: Dec 2003
Location: Caracas, Venezuela
Distribution: Slackware
Posts: 18

Original Poster
Rep: Reputation: 0
Still no working... in netconfig i put the following: it first asks for a host name: i put the name a want (say, guayacan). Then it asks the domain, wich i look over in a window box (www.cantv.net). Then i say i want a dhcp connection. Then the dhcp hostname is requiered, and i've done 2 differents things: one, left the field in blanck, or put the ip adress of the dhcp host. press yes to say to overwrite, and then did what you told me (by the way, what happens when you tipe that? just for learning) and still am not abble to conect. The browser does not find any adress.
 
Old 01-01-2004, 04:44 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Re: cannot conect to internet

Quote:
Originally posted by Guayacan
Hi

Sended this e-mail to the network forum... then found this one out, and here it is. Don't know if i shouldn't send the same questions to two forums, but maybe someone here can give a hand:
Like I explained in another double post of yours, its against our rules in which you should have read and agreed to when registering.

I will have the other thread closed.

Review our rules here: http://www.linuxquestions.org/rules.php
 
Old 01-01-2004, 04:51 PM   #5
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
try, using a browser, to connect to http://192.168.1.1/

That's usually the default page for controls for a router. If you can see that, then the problem lies with your router settings, not your computer settings.
 
Old 01-01-2004, 04:51 PM   #6
poison
Member
 
Registered: Dec 2003
Location: Layer 7 =D
Distribution: Slackware, LFS, Rock Linux
Posts: 165

Rep: Reputation: 30
why DHCP ? your machine usually needs a static ip if you don't have a DHCP server running in your network...
remember to choose a ip thats in range of the subnet you will be going to use...
your router probably has the ip 192.168.0.1 or something like that....
just take the first 3 numbers of the ip of your router/gateway and change the forth ....in case your router has 192.168.0.1 set it to something like 192.168.0.64....and the subnet mask to 255.255.255.0...
 
  


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
Cannot conect to X server xowl Linux - Software 2 10-09-2005 08:11 PM
Cannot conect to internet on mandrake suckerr70 Linux - Networking 6 04-19-2005 04:08 AM
SUSE 7.3 internet conect unclegerry Linux - Networking 1 02-24-2004 11:21 AM
Cannot conect to the internet. ¿dhclient? Guayacan Linux - Networking 1 01-01-2004 04:45 PM
Conect to the internet Darkangel90 Linux - Newbie 1 09-15-2002 09:24 AM

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

All times are GMT -5. The time now is 05:57 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