Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Installation > help getting modem ready....

Forgot Password?
 Installation   Need help or have questions about installing Linux, including dual booting with other distros or Windows? put them here!

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 12-08-2002   #1 (permalink)
Just Joined!
 
Join Date: Dec 2002
Posts: 3
help getting modem ready....

Hi, I just installed Mandrake 8.2 yesterday. This is the first time I have ever seen Linux and know nothing about it. The first thing I would like to do is get my modem configured so I can start going online with my Linux side. I have a USR 5610a, I found this info on how to get it working http://www.blarg.net/~rwkramer/tech/linux.html#hw_5610, I take it that I would just enter that into the run window??? and click on run as root?? But how do I get to the next line?? When i hit enter it trys to run it?? And lastly do I enter than word for word?? Or do i need to replace some characters with letters/numbers?? Im sorry for probably sounding like I know nothing, but i really dont, first time I ever saw was yesteday. Would appreciate any help. -thanks
wr3ck3d is offline  



Reply With Quote
Old 12-08-2002   #2 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,578
That script only seems to set up the serial port, which should allready have been done automagically by the kernel at boot time.
What you need to do is to set it up to be used by the PPP daemon. Unfortunately, I don't run mandrake, so I don't know what the best way to do it on mandrake is, but I think there should be a configuration helper of some kind somewhere.
Maybe someone who actually uses mandrake should help you. Otherwise there is the PPP-HOWTO on www.tldp.org
The exact URL is www.tldp.org/HOWTO/PPP-HOWTO/index.html
Dolda2000 is offline   Reply With Quote
Old 12-08-2002   #3 (permalink)
Just Joined!
 
Join Date: Dec 2002
Posts: 3
Ok, first of all, i dont even know the proper way to enter that script. Do I just type a line....hit enter......type a line.....hit enter, or just continually type, i was typing a few lines but there was a $, so i guess that means i am log in as regualar user.....How do i log is at root??? and how do you make these "|" in linux?? -thanks
wr3ck3d is offline   Reply With Quote
Old 12-08-2002   #4 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,578
First of all, you should not type them in directly on the shell. You should store it into a file, which you then make executable by running (on the shell) "chmod 755 <filename>" (where <filename> is supposed to be whatever you named the file). That kind of file is called a script, since it contains a sequence of commands to be executed by a program. The first line, #!/bin/sh specifies the program (/bin/sh, ie. the shell) to execute the file, which mean that this script is a shell script, since the shell interprets it. It's somewhat like a .BAT file in MS-DOS, except that shell scripts are much, much more capable.
You are right, the $ indicates that you are a regular user. # indicates that you're root. If you don't want to actually log in as root, which you shouldn't do, you can become root by running "su -". su stands for superuser, which is a common way of saying root.
The "|" is called the pipe character, since it (in the shell, that is) pipes the output of one command to the input of another. For example, in this script, the line "lspci | grep "US Robotics" | awk '{print $1}'" runs lspci, which lists the PCI devices in your system, pipes that output to grep, which only prints the line(s) that contains the string "US Robotics", and pipes the output of grep to awk, which, with the '{print $1}' argument, prints the first column in its input lines. So, all in all it finds the device number (which is the first column in the lspci output) of your US Robotics modem. Actually, the grep and awk commands are much more advanced then what I described here, but I'll spare you that for now.
I suppose you don't have an american keyboard, since you don't know how to type it. Since I don't what keyboard you use, I cannot tell you which key it is on, but on my Swedish keyboard, on which I still use an american layout, since I find it far superior, I get it by holding Shift and typing the button which says ' and *. It is possible, of course, to switch keyboard layout, but it uses different commands depending on whether you use it in X or on the console, so I won't go through that now.
By the way, if someone ever says that you can look at something like pppd(8) or fstab(5), and you don't know what it means (since you claim to be new to linux), it means a manual page. Just start a terminal and type "man 8 pppd" (for pppd(8)) or "man 5 fstab" (for fstab(5)), and you'll get some documentation on that subject. Almost everything in unix is documented pretty thoroughly in the manpages.
For example, see sh(1), for more info on the pipe character and the rest of the shell.
Dolda2000 is offline   Reply With Quote
Old 12-08-2002   #5 (permalink)
Just Joined!
 
Sykotik's Avatar
 
Join Date: Mar 2002
Location: Cape Town, South Africa
Posts: 54
Send a message via AIM to Sykotik Send a message via MSN to Sykotik Send a message via Yahoo to Sykotik Send a message via Skype™ to Sykotik
I started up with using KPPP as my dialer until I got more used to the whole Linux arena, then I tackled a script-based PPP system by mix-matching documentation examples from all over the net.

Worked for me.
Sykotik is offline   Reply With Quote
Old 12-09-2002   #6 (permalink)
Just Joined!
 
Join Date: Oct 2002
Location: southern ontario, canada
Posts: 37
Send a message via AIM to freak132 Send a message via MSN to freak132 Send a message via Yahoo to freak132
no i believe "su" stands for switch user
if u type in
$>su username
u switch to that user but if u use it without arguements than it assumes u mean root
freak132 is offline   Reply With Quote
Old 12-09-2002   #7 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,578
Actually, the original UNIX su could only switch to the superuser, and if you look in the manpages from 1969 (before UNIX was released to the general public), it clearly states that su stands for superuser.
Dolda2000 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 03:11 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1