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 01-14-2004, 10:06 AM   #1
kgm
LQ Newbie
 
Registered: Jan 2004
Posts: 18

Rep: Reputation: 0
Angry slackware isp setup.


I am running Slackware-current but have difficulty setting up and configuring the spstem to connect to my ISP and also as a web and ftp server.

I am reaaly frustrated ... Please help!!!!

Thanks in advance for any step by step suggestions.

kgm.
 
Old 01-14-2004, 10:14 AM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Are you using kppp to conect to your ISP - what is the exact problem? - you've mentioned you're having trouble but haven't specified what the problem is..........
 
Old 01-14-2004, 10:20 AM   #3
kgm
LQ Newbie
 
Registered: Jan 2004
Posts: 18

Original Poster
Rep: Reputation: 0
Angry

LQ,

I am not using kpppd. I don't know where to start in setting up isp.

I have the modem that connects to the NIC, userid , password.

How do I proceed ?

Can I connect using "minicom". I not ruunign x windows on my machine.

Thank for your reply.

kgm.
 
Old 01-14-2004, 05:37 PM   #4
dirstyGuy
Member
 
Registered: Jan 2004
Posts: 67

Rep: Reputation: 15
Try use "netconfig" to configure ur internet connection. The files related to networking are: "/etc/rc.d/rc.{inet1.conf,inet1}". The configuration is in rc.inet1.conf, it is read by rc.inet1.

To try to get ineternet connection try to adjust the value in rc.inet1.conf then start it with "/etc/rc.d/rc.inet1 restart" (but use netconfig first b4 u try manual editing rc.inet1.conf.
 
Old 01-14-2004, 08:04 PM   #5
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Rep: Reputation: 120Reputation: 120
kppp is a very easy way to get a connection up and running if you are in an xsession and have kde on board. Its pretty much a no brainer.

You don't need to use an icon or menu, just type kppp in a terminal and itll pop up and you can test your modem when configuring with kppp.

If your using netconfig be sure to select "loopback" and unlike kppp you will have to know a little more about what you want to be doing.
 
Old 01-15-2004, 07:36 AM   #6
kgm
LQ Newbie
 
Registered: Jan 2004
Posts: 18

Original Poster
Rep: Reputation: 0
Angry

Hello *,

Thank very much for your replies.

I have already configured my machine. Everything id working fine expect
setting up internect connection.

What files do I need to edit,eg. apache, inorder to connection.

My ISP is using DHCP at thier end.

Any reply is appreciated.

Again I have not installed X Windows.

kgm.
 
Old 01-15-2004, 01:14 PM   #7
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Rep: Reputation: 120Reputation: 120
Ok, no x session, so we do it the slackware way on the command line with the help of dialog.

By the look of your questions in the last post it might be best if I start at the very beginning and go step by step. If you know some of this already bear with me, I'm not trying to patronise you. Other newbies who know less might benifit as well.

I'll explain each step as I would do it on my machine if your not completely familiar with something google it once your online. Once you gotten a basic connection set up you can move onto the other things.

##########################################################################

Setting up a dialup connection in slackware for a stand alone machine, eg not
connected to a LAN:

Unless you want to edit the relevant files by hand, you will need to use two
command line tools, ( 1 ) netconfig ( 2 ) pppsetup. Brief descriptions of
what to do withe netconfig and pppsetup follows below, but read the complete
text/instructions in each step of the commands. You may learn
something along the way.

In a terminal type "netconfig" and hit enter. The steps
in order are:

(1) Enter name for host: that is the name of the machine, the default is
darkstar if you don't enter anything, I'll use my name "rick"

(2) Enter domain name: this would be used to enter the domain name of your
machine (not your ISP's) you can enter anything you like, I'll use "miles.home.
If the box was on a local area network ( LAN ) its address would be
rick@miles.home. In actual fact this box is also the server for a
small LAN. The setup is the same for the server as for the standalone in my case.

(3) How does the machine connect to the network: since this is presumably a standalone work
station I want "loopback", to select it I downarrow to loopback and hit enter.

(4) I am then presented with my machine's IP address (internal to my box) and
netmask. These are 127.0.0.1 and 255.255.255.0 respectively and would be the
same on any box.

I am now finished setting up a loopback network in my box. I have an internal
winmodem ith a Lucent chipset and have already compiled and installed my
drivers (modules) using the ltmodem package. The command "lsmod" shows me that
they are loaded so I can expect the modem to work. If I was using an external
modem I would not have to worry about this.

In a consol I type "pppsetup" and hit enter. The steps
involved are:

(1) I first have to enter the phone number of my ISP. I must prefix it with the
letters " atd ", so I enter " atd01985557777 "

(2) Next I select the location of my modem, I'll use /dev/modem which points to
/dev/tty0 (which would be com port 1 in an MS system) where I know it is.

(3) Next I am asked to select the baud rate for my modem. I select 115200
because I'm still living in the stone age.

(4) When asked if my ISP uses call back I answer "no" because very few do these
days.

(5) My modem works fine using the default modem string. In general, most
recentlymade modems produced for the mass market will.

(6) I will then be prompted to enter the name of my ISP. I will leave out the
leading " w.w.w. " and enter " optusnet.com.au ".

(7) I will then be prompted to enter my ISP's IP address. If I was logged onto
the net I could get this easily enough while connected. Since I'm not, I call my
ISP's service desk and ask for the primary and secondary dns numbers.
I will be told that I don't need them to set up my connection because the cd
they sent me does it all for me. When I say that I'm running linux the
customer service rep will tell me that optusnet doesn't support linux and I will
tell her that linux can stand up by itself and don't need any support. After
that I'll get my dns numbers real quick because she wants me to go away.

I only need one number for pppsetup so I type in 203.2.75.132.

(8) I am next asked to nominate which authentication protocol to use. I select
"PAP" because I've done this before, but it's a safe bet and in any case if
it don't work I can always come backand run pppsetup again and change it to
CHAP.

(9) I am asked to enter my login name, This is the name my ISP will be looking
for when it authenticates my attempted connection. It may not necessarily be the
same as the name in my email address. I know what it is and enter it.

(10) Finally I will be asked to provide my account password which again may or
may not be the same one I use to access my emails once logged in.

That will complete the ppsetup routine after which I should be able to make a
connection using the command " /usr/sbin/ppp-go ". I can disconnect using the
command " /usr/sbin/ppp-off "

The output on my machine when I run ppp-go is provided below. The connection was
made as a normal user with the settings in netconfig and pppsetup that I
detailed above.

rick@rick:/mnt/hda8/rick$ /usr/sbin/ppp-go
rick@rick:/mnt/hda8/rick$ Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/modem
local IP address 211.29.114.135
remote IP address 211.29.114.254

########################################################################

Note that you will have to run netconfig and pppsetup as root. You will probably
have to test you first connection as root However. as soon as you see that you
have made a connection, disconnect!!!!!

Don't go online as root even if it is only a dialup account for a couple hours. I have had people try to get in while logged onto the net, they may visit you too someday. Also, once you've got yourself in order set up a firewall.

It's been awhile since I thought about it and the above was done from notes
(get in the habit of taking notes), you will most likely have to:
suid /usr/sbin/ppp-go
suid /usr/sbin/ppp-off
suid /usr/sbin/pppd
suid /usf/sbin/pppoe
in order to allow a normal user to make a connection. I'm not too sure about the
permissions of (and in) /etc/ppp, but if you were able to make a connection as
root you know it works and you may just have to play around a bit to set it up
for a normal user.

Last edited by justwantin; 01-15-2004 at 01:26 PM.
 
Old 01-15-2004, 02:11 PM   #8
kgm
LQ Newbie
 
Registered: Jan 2004
Posts: 18

Original Poster
Rep: Reputation: 0
Angry

Thank you for your reply.

I am interested though in setting up internet using DSL (sympatico, Canada).

I am sorry for not being clearer in my previous emails.

Thank you.

kgm.
 
Old 01-16-2004, 07:40 AM   #9
njbrain
Member
 
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Rep: Reputation: 30
You mean you already have DSL internet service? I am still a newbie, but all I did to get it working was run "netconfig" from the command promt. It will aks you to for two names, and I don't belive that it matters what you enter, It will just name your computer that. Then I selected the DHCP option, and I was done, up and running on the internet. Like I said, I am still a newbie, so there may be more to it for you.
Noah
 
Old 02-04-2004, 08:59 PM   #10
dickohead
Member
 
Registered: Feb 2003
Location: Melbourne, VIC, Australia
Distribution: Ubuntu 6.06
Posts: 101

Rep: Reputation: 15
Talking much love justwantin


That 7th note for ppp cracks me up mate - fantastic!!!!! Get a real ISP dude! Try TPG, their DNS is online! And thanx for that tutorial mate, it's eaxactly what i needed!!!!!

*must buy justwantin a beer*

Last edited by dickohead; 02-04-2004 at 09:02 PM.
 
Old 02-04-2004, 10:52 PM   #11
slackMeUp
Member
 
Registered: Nov 2003
Distribution: Slack-where?
Posts: 654

Rep: Reputation: 30
Quote:
Originally posted by kgm
Thank you for your reply.

I am interested though in setting up internet using DSL (sympatico, Canada).

I am sorry for not being clearer in my previous emails.

Thank you.

kgm.
run as root....

"adsl-setup"

in any term....

Fallow the steps and when finished run...

"adsl-start"

Then you will see it connect.... if it does... good... if not... redo "adsl-setup" and check for problems...

(also "adsl-stop" will shutdown a connection to the internet... and "adsl-status" will tell you if you are connected or not. )
 
Old 02-04-2004, 11:09 PM   #12
GOBY
Member
 
Registered: Feb 2003
Location: Austin TX
Distribution: ArchLinux
Posts: 67

Rep: Reputation: 15
Quote:
linux can stand up by itself and don't need any support. After
that I'll get my dns numbers real quick because she wants me to go away.
Damn that's funny and yes, thanks for the how-to! I guess the only difference in a standard DSL setup would be the driver? Or do you still have to define an authentication method? <edit> answer: yes.
I relied on roaring penguin pppoe to do much of the setup (including a basic firewall) hence the ignorance..

Last edited by GOBY; 02-04-2004 at 11:53 PM.
 
Old 02-05-2004, 02:24 AM   #13
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
justwantin, that's an excellent HOWTO for text-based setup of ppp. He may nedd to do this as well:
chmod 644 /etc/ppp/options
chmod 644 /etc/ppp/pppscript
 
Old 02-05-2004, 07:06 PM   #14
dickohead
Member
 
Registered: Feb 2003
Location: Melbourne, VIC, Australia
Distribution: Ubuntu 6.06
Posts: 101

Rep: Reputation: 15
i ran through netconfig and pppsetup with all the correct settings - yet how do i tell my system to find my modem? It's a standard 56k external com1 modem. And i am using it right now - in windaz however.

What do i need to run/do to make linux find my modem?
 
Old 02-05-2004, 09:31 PM   #15
njbrain
Member
 
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Rep: Reputation: 30
Are you running KDE? If so, open up KPPP, its under Kmenu, Internet. When I had a dial-up connection, that always worked fine for me.
Noah
 
  


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
Squid setup for ISP how-to? crocks21 Linux - Networking 1 05-24-2005 11:19 PM
ISP setup emailssent General 1 09-30-2004 12:43 AM
ISP setup tangle Linux - General 8 05-13-2003 08:27 AM
Setup dialup to ISP FNC Linux - Networking 1 03-10-2002 09:00 AM
Help with isp setup mxw320 Linux - Networking 2 02-06-2001 10:16 PM

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

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