Connecting to the net through the command line


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Connecting to the net through the command line
# 1  
Old 01-20-2002
Question Connecting to the net through the command line

hey,
ive got a quetion for any one who can answer, im running mac os x and when you're at the login screen and type in ">console" as the user name it launches a complete command line enviroment once in that enviroment are there any text based utilities that i could use to connect to my isp?
# 2  
Old 01-20-2002
check out...

http://lynx.browser.org/

lynx is a text based web browser
# 3  
Old 01-20-2002
Thanks for the help but what i meant is there any sort of text based dialup utility that i could use in a completely command line enviroment to connect with my isp
# 4  
Old 01-20-2002
Do you mean a command line dial-up script to connect via a modem? Many people use chat ... From the man page:

Quote:
CHAT(8) CHAT(8)

NAME
chat - Automated conversational script with a modem

SYNOPSIS
chat [ options ] script

DESCRIPTION
The chat program defines a conversational exchange between
the computer and the modem. Its primary purpose is to
establish the connection between the Point-to-Point Proto-
col Daemon (pppd) and the remote's pppd process.
# 5  
Old 01-22-2002
i dont know if im doing this wrong but when i enter the command pppd the terminal tells me -
pppd: Can't open options file /etc/ppp/options: No such file or directory
Can't open options file /etc/ppp/options: No such file or directory
i read the manual well most of it anyways and im still not sure how to dial up through the cli.
# 6  
Old 01-22-2002
Learning PPPD is good, but CHAT is also a part of the process for most folks... pppd and chat..... chat manages the dialup modem script and pppd manages the negotiation of Internet 'stuff'..... sounds like you are on the right track.
# 7  
Old 01-23-2002
Well, MacOSX is based on BSD after all, so probably one of the best places to find docs would be on the freebsd site. Check out here:
http://www.freebsd.org/doc/en_US.ISO...imer/c308.html
You'll most likely have to change some things, and maybe move them around (if OSX looks in different directories), but the basics should be there.

Also see http://www.linuxdoc.org/HOWTO/PPP-HOWTO/index.html for some other info... You won't need the majority of whats in that HOWTO, but it's yet another reference point.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Net rpc command clarification

Hi, I am checking below command to see the status of windows service from unix but due to "!" sign it is not accepting password. Please suggest alternative what should i do resolve the issue. net rpc service status W32Time -I 10.1.1.1 -U "mydomain\admin%Passwod12!" One more thing... (1 Reply)
Discussion started by: learnbash
1 Replies

2. Shell Programming and Scripting

sed command to replace a line at a specific line number with some other line

my requirement is, consider a file output cat output blah sdjfhjkd jsdfhjksdh sdfs 23423 sdfsdf sdf"sdfsdf"sdfsdf"""""dsf hellow there this doesnt look good et cetc etc etcetera i want to replace a line of line number 4 ("this doesnt look good") with some other line ... (3 Replies)
Discussion started by: vivek d r
3 Replies

3. UNIX for Advanced & Expert Users

which shell command or utility will call the net device driver?

Hi, all: Which shell command or utility will call the open(), close(), hard_start_xmit(), rtl8139_rx(), or interrupt() functions in a network device driver I am debugging? Can "ping", "ftp", "scp", or "internet browser" finally call them? Best regards! li, kunlun (0 Replies)
Discussion started by: liklstar
0 Replies

4. UNIX for Dummies Questions & Answers

Connecting through ftp command

I have a general problem of connection to my site 'noos'. My server's ftp name is 'mapage.noos.fr' and login is 'stehub', according to my hotline. I just need to fill the field Password to be connected (in software like Transmit or Dreamweaver), theorically. BUT IT DOES NOT WORK and my... (7 Replies)
Discussion started by: shub22
7 Replies

5. Shell Programming and Scripting

Net::SSH::Perl->Execute any unix command & display the output in a proper form

Net::SSH::Perl ...... how to print the output in a proper format my $cmd = "ls -l"; my $ssh = Net::SSH::Perl->new($host); $ssh->login($user, $pass); my($stdout, $stderr, $exit) = $ssh->cmd("$cmd"); print $stdout; the script works fine, but i am unable to see the output... (2 Replies)
Discussion started by: gsprasanna
2 Replies

6. UNIX for Dummies Questions & Answers

Unix command used for downloading file from net

Hi, Which command I can use to download a file from website? I tried with wget and lwp-dowload but no gain. Can any one suggest me the good way to dowload? (2 Replies)
Discussion started by: siba.s.nayak
2 Replies

7. Shell Programming and Scripting

Net::SSLeay or Net::FTPSSL

Hello, I ran into an issue in one of my monitoring scripts. If I use the public ip address in my connection string everything works, but if I switch the connection string ip to 127.0.0.1 or the internal ip I get, " Connection refused at... (1 Reply)
Discussion started by: Styles
1 Replies

8. Shell Programming and Scripting

Need help on use of "cmd" command in net::Telnet module in PERL

in "cmd" command i want to copy the ouput of the command excuted to a particular file in a directory. How to do this..?? Ex : $telnet->cmd(String => 'allip:acl=a1;',Prompt => '/</'); i want to copy o/p of the command "allip:acl=a1;" in a log file in a particular directory. Plz suggest.. (1 Reply)
Discussion started by: sudhakaryadav
1 Replies

9. Windows & DOS: Issues & Discussions

Need Help on "waitfor" command in net::Telnet Module in PERL

Hi, Can anybody help me in writing command "waitfor" for string "C:\WINNT\Profiles\mfcf0508>" while using net::Telnet module. I tried the below format : $telnet->waitfor('/"C\:\WINNT\Profiles\mfcf0508>".*$/i'); Getting error as : pattern match timed-out Plz help me (3 Replies)
Discussion started by: sudhakaryadav
3 Replies

10. UNIX for Dummies Questions & Answers

Connecting to samba server from unix command line

Hi, I am trying to connect to a samba server from my unix command line. I am using Ubuntu and I can access the server from the GUI, but I need to write a script to automate a backup. Does anyone know how to do a cd into a smb drive from the unix command line? Thanks, Eric (2 Replies)
Discussion started by: ejbrever
2 Replies
Login or Register to Ask a Question