Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-29-2005, 10:02 PM   #1
Registered: Feb 2005
Posts: 126

Rep: Reputation: 15
connect to Internet via COMMANDS


1) Please tell me HOW to connect to the Internet via the COMMAND-LINE ONLY?

2) Can someone please tell me EXACTLY what all information I need to gather about my internet connection to connect to the Internet using the COMMAND-LINE ONLY?

3) My ISP says it "will only give dynamic IP addresses. No static IP addresses will be given initially." Whats dynamic & static IP addresses? Can I still be able to connect to the Net with only this information of my dynamic IP addresses?

Thanks a lot.

Take care
Old 03-29-2005, 11:51 PM   #2
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
It is very possible to connect through the command line only. We need to know a few things first though, like say what it is that you are running. If it is debian, or one of its children, the config files are in /etc/network/interfaces. I like to use vim, so as root I make sure the file is set to receive a dhcp address from the network. If you're in red hat, the path to your files is /etc/sysconfig/network-scripts/ifcfg-eth0. The file should read like this to accept a dhcp address:
A dynamic address is one that can change. Static is just that, it never changes. There is no difference in connection quality, just a question of how easy it is for people to reach your machine. With static you can run mail, dns, whatever because you have ficed addresses. You can run those apps with a no-ip solution, but you don't need 3rd party scripts to get a website or anything else up with static.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
connect to Internet via COMMANDS coolblue Linux - Networking 2 03-31-2005 12:36 AM
Messed up my Internet Settings (can't connect to the internet) Almazick Linux - Wireless Networking 0 09-07-2004 06:23 PM
How can I, remotely via LAN, connect to a modem and send it commands ? djshark Linux - Networking 1 06-06-2004 11:46 AM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 07:32 PM
Can connect broadband but can't connect Internet satimis Linux - Networking 4 01-31-2004 07:58 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration