LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to Activate xDSL connection on machine boot in Fedora -12? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-activate-xdsl-connection-on-machine-boot-in-fedora-12-a-787536/)

gauravholey 02-07-2010 03:36 AM

How to Activate xDSL connection on machine boot in Fedora -12?
 
Hi there,


This is gaurav. Need help on a activating xDSL Connection on machine startup, i have configured the internet through it but every time when machine boots up...it is annoying to activate this interface manually. do guide on this....i am using Fedora core 12...and can you help on the firefox's "work offline" bottle neck...every help would be really appreciated...


best regards,
gaurav holey

sohail0399 02-07-2010 04:24 AM

what type of XDSL modem are you using?

there are so many external modems/routers are present, which are configured on PPPOE mode or something like that, when modem restart it autodial and conect, and system is connected to this modem through eth interface.

And in some cases people configured modem in bridging, through which they dial from system/machine, in this case each you have to dial when system boots.

gauravholey 02-07-2010 04:36 AM

its basically a pppoe connection over eth interface but autoconnection was present there in FC7...


regards,
Gaurav Holey

PTrenholme 02-07-2010 11:06 AM

First, do a yum install cnetworkmanager to install the NetworkManager command line interface. Then add this
Code:

pass=<your WPA password>
cnetworkmanager -C $1 --wpa-pass $pass &
disown

to /etc/rc.d/rc.localor crated a script:
Code:

#!/bin/bash
[ $# -eq 0 ] && echo Usage $0 AP [pass_phrase] && exit 1
pass=$2
[ -z "$pass" ] && pass=.....
cnetworkmanager -C $1 --wpa-pass $pass &
disown

and add a desktop file to .Desktop/autorun to run thst script with your password as an argument when your desktop starts.

<edit>
Run cnetworkmanager --help for a list of the various other options you can use. I assumed, above, that you were using WAP, but other options are available.

Also, if you replace the NetworkManager with the wicd Python package, you will be automatically connected during the boot process so your wifi connection will be available even if you boot to level 3.
</edit>

<edit2>
Wait a second! How are you "manually configuring" your modem? :scratch: The modem configuration should be done only once, and saved in the modem's eprom. It's usually done by connecting to the modem's setup program using a browser, although some older modems require the use of a Windows-specific (blah.exe) program. But once the modem is configured, you shouldn't need to do anything unless you need to change the ISP vendor information or encryption settings.
</edit2>

<edit3>
If you are using the default Fedora12 GNOME desktop, you should right-click on the NetworkManager icon in the task-bar at the top, right of the screen, select you access-point, set the password (and store it in the "wallet"). Once you;ve done that, the connection shpuld be automatically made every time you start a GNOME session.
</edit3>


All times are GMT -5. The time now is 10:03 PM.