LinuxQuestions.org
Help answer threads with 0 replies.
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 08-27-2004, 11:43 PM   #1
mapesju
Member
 
Registered: Jul 2004
Location: Saskatchewan
Distribution: Slackware 10.2
Posts: 45

Rep: Reputation: 15
about internet connection


I recently installed slack 10 and I don't know how to configure the machine to access the internet. I've tried using vi but I don't know any of the commands. back when I was using mdk9.2, there was no problem connecting to the internet, I actually miss the MCC usability.

I would like to know what I need to edit and how.
 
Old 08-28-2004, 12:17 AM   #2
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
try running netconfig as root first to see if that will work
 
Old 08-28-2004, 12:32 AM   #3
mapesju
Member
 
Registered: Jul 2004
Location: Saskatchewan
Distribution: Slackware 10.2
Posts: 45

Original Poster
Rep: Reputation: 15
I've tried that, all it asks for is host name, host domain, and dhcp host name. It doesn't ask for the default gateway or the netmask. I'm set up for dynamic IP so I didn't choose static IP.
 
Old 08-28-2004, 01:38 AM   #4
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
in DHCP setup, default gateway and netmask and dns are provided by the dhcp server.

If you insist in setting your default gateway. I don't think it will be of much help in dhcp setup, here is how:
Code:
cd /etc/rc.d
emacs rc.inet1.conf
you can used vi if you like it or whatever text editor you like. At the end of the file, there is a default gateway field. And again I reiterate. I don't think that is your problem.

How are you connected to the Internet?
dsl?
cable?
lan(corporate,campus, some other network?)
dial-up?
satelilte?
wi-fi?
 
Old 08-28-2004, 01:44 AM   #5
mapesju
Member
 
Registered: Jul 2004
Location: Saskatchewan
Distribution: Slackware 10.2
Posts: 45

Original Poster
Rep: Reputation: 15
I connect to my cable modem through a hub... my ISP told me that everything should be detected automatically, then again, my ISP doesn't provide tech support for Linux but that's what Jeff(tech support) said.
 
Old 08-28-2004, 02:35 AM   #6
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
I don't have cable modem and no experience with it. I am making an assumption here. That once you plug your ethernet cable between your cable modem and your nic. And dhcp request the IP. It will be setup already. If that is the case then do this:

1. netconfig (choose dhcp) ; you would have already done so.
2. cd /etc/rc.d
3. ./rc.inet1 start #this execute the network configuration script.
4. ping www.google.com
if you get ping reply, congratulations.
 
Old 08-28-2004, 03:15 AM   #7
mapesju
Member
 
Registered: Jul 2004
Location: Saskatchewan
Distribution: Slackware 10.2
Posts: 45

Original Poster
Rep: Reputation: 15
Thanks everyone, this message comes from Slackware 10. I'm not sure how it worked, I just did the same crap I tried all afternoon (netconfig, ifconfig, check for connection).
Slackware is a learning experience, thanks for the lession.
 
Old 08-28-2004, 03:18 AM   #8
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Everytime you do a netconfig, the changes to your setup is not implemented till you go to /etc/rc.d
and run the rc.inet1 script by:

./rc.inet1 stop
./rc.inet1 start
 
Old 08-28-2004, 04:56 AM   #9
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
See, didn't need MCC after all.

Once you wean yourself away from point and click, it all becomes clear and easy. But having said that, Slackware isn't for everyone. Give yourself at least a month on Slackware. When you get over the hump, you'll be here giving advise.

netconfig works great, and cc is right about inet1 stop/start after changes.

vi advise: I think vi links to elvis. Use "vim" (improved) and the vimtutor. Docs on the disk. For now, put in your ~/.vimrc file:
set nocompatible
set ruler
This is a good starting point until you learn more. And I _recommend_ learning vi (vim), as it comes on pretty much all *nix. Also, type gvim (needs X) for the gui frontend which shows vim commands in the menu as a learning tool.
 
  


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
Slow Internet Connection when Connecting to Internet on Browsers lennysokol Linux - Networking 8 04-09-2011 04:29 PM
Nic card -> cable internet modem no internet connection zeshan_b Mandriva 21 09-26-2004 11:48 AM
Messed up my internet settings (NO internet connection) :( Almazick Linux - Networking 2 09-08-2004 12:05 PM
My internet apps cannot detect my internet connection esthon_wood Mandriva 5 08-30-2004 08:38 PM
i can get internet connection in windows but in LINUX there is no connection ruzvay Linux - Networking 2 06-08-2004 07:02 PM

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

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