LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   setup internet on command line (https://www.linuxquestions.org/questions/linux-newbie-8/setup-internet-on-command-line-776343/)

lemtree 12-17-2009 03:18 AM

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.

datopdog 12-17-2009 03:29 AM

What distro are u running ?

lemtree 12-17-2009 03:55 AM

I am using Fedora 12 installed from Live CD

datopdog 12-17-2009 03:57 AM

you can use the
Code:

adsl-setup
command and follow the prompts

lemtree 12-17-2009 04:03 AM

I get command not found?

datopdog 12-17-2009 04:09 AM

The command has changed to
Code:

pppoe-setup
you need to have the rp-pppoe package installed.

lemtree 12-17-2009 04:12 AM

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.

datopdog 12-17-2009 04:13 AM

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.

lemtree 12-17-2009 04:14 AM

I think it will I just need to give it the ssid and wap key I think

lemtree 12-17-2009 04:17 AM

I tried system-config-network-tui but my wlan is not listed. It is listed in iwconfig though.

datopdog 12-17-2009 04:17 AM

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

datopdog 12-17-2009 04:19 AM

This may help you http://www.linuxhomenetworking.com/w...ess_Networking

lemtree 12-17-2009 04:20 AM

Thank you for trying datopdog.

Is there anyone who knows if this is possible on the command line?

datopdog 12-17-2009 04:21 AM

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.

lemtree 12-17-2009 04:27 AM

Thank you that link is very helpfull.


All times are GMT -5. The time now is 03:13 AM.