LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-17-2009, 03:18 AM   #1
lemtree
LQ Newbie
 
Registered: Nov 2009
Posts: 29

Rep: Reputation: 15
setup internet on command line


I would like to know how I could connect to my adsl modem/router on the command line.

The network is running on dhcp and WAP.

It's easy to connect in the gui but I would like to know how to do it on the command line.

Furthermore where can I configure this to happen automatically on boot.
 
Old 12-17-2009, 03:29 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
What distro are u running ?
 
Old 12-17-2009, 03:55 AM   #3
lemtree
LQ Newbie
 
Registered: Nov 2009
Posts: 29

Original Poster
Rep: Reputation: 15
I am using Fedora 12 installed from Live CD
 
Old 12-17-2009, 03:57 AM   #4
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
you can use the
Code:
adsl-setup
command and follow the prompts
 
Old 12-17-2009, 04:03 AM   #5
lemtree
LQ Newbie
 
Registered: Nov 2009
Posts: 29

Original Poster
Rep: Reputation: 15
I get command not found?
 
Old 12-17-2009, 04:09 AM   #6
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
The command has changed to
Code:
pppoe-setup
you need to have the rp-pppoe package installed.
 
Old 12-17-2009, 04:12 AM   #7
lemtree
LQ Newbie
 
Registered: Nov 2009
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks for the replies. This seems to recreate a connection to my isp. My router already creates the adsl connection I just want to link to my router through the wlan using dhcp.
 
Old 12-17-2009, 04:13 AM   #8
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
okay in that case you need
Code:
system-config-network-tui
but it should work out of the box as your adsl router is a dhcp server.
 
Old 12-17-2009, 04:14 AM   #9
lemtree
LQ Newbie
 
Registered: Nov 2009
Posts: 29

Original Poster
Rep: Reputation: 15
I think it will I just need to give it the ssid and wap key I think
 
Old 12-17-2009, 04:17 AM   #10
lemtree
LQ Newbie
 
Registered: Nov 2009
Posts: 29

Original Poster
Rep: Reputation: 15
I tried system-config-network-tui but my wlan is not listed. It is listed in iwconfig though.
 
Old 12-17-2009, 04:17 AM   #11
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
Sorry u did not mention that u are using a wireless access point, am not sure if there is an easy command line tool for that as it normally works via networkmanager which is a gui application
 
Old 12-17-2009, 04:19 AM   #12
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
This may help you http://www.linuxhomenetworking.com/w...ess_Networking
 
1 members found this post helpful.
Old 12-17-2009, 04:20 AM   #13
lemtree
LQ Newbie
 
Registered: Nov 2009
Posts: 29

Original Poster
Rep: Reputation: 15
Thank you for trying datopdog.

Is there anyone who knows if this is possible on the command line?
 
Old 12-17-2009, 04:21 AM   #14
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
Yes it is possible but u will have to edit the files, as in the above link, there is no tool to do it for you.
 
1 members found this post helpful.
Old 12-17-2009, 04:27 AM   #15
lemtree
LQ Newbie
 
Registered: Nov 2009
Posts: 29

Original Poster
Rep: Reputation: 15
Thank you that link is very helpfull.
 
  


Reply


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
Command line only Proxy setup Xorgroth Debian 4 04-03-2008 03:37 PM
command line setup utility sikkalgopal Mandriva 3 09-14-2004 12:41 PM
setup X in command line chii-chan Fedora 2 01-20-2004 06:32 PM
setup an internet connection from the command line Aljaber Linux - Networking 3 12-28-2003 07:48 PM
Command Line and Setup jarmstrong Linux - Newbie 2 05-31-2002 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:25 AM.

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