LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-07-2010, 03:36 AM   #1
gauravholey
Member
 
Registered: May 2009
Posts: 35

Rep: Reputation: 15
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
 
Old 02-07-2010, 04:24 AM   #2
sohail0399
Member
 
Registered: Oct 2008
Location: Pakistan, Islamabad
Distribution: CentOS, Fedora, Solaris
Posts: 154

Rep: Reputation: 23
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.
 
Old 02-07-2010, 04:36 AM   #3
gauravholey
Member
 
Registered: May 2009
Posts: 35

Original Poster
Rep: Reputation: 15
its basically a pppoe connection over eth interface but autoconnection was present there in FC7...


regards,
Gaurav Holey
 
Old 02-07-2010, 11:06 AM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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? 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>

Last edited by PTrenholme; 02-07-2010 at 11:37 AM.
 
  


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
xDSL connection can be established but I can't get access to Internet after upgrade guroid Linux - Newbie 1 08-12-2009 03:27 AM
xDSL connection.. [Danial] Linux - Networking 12 01-28-2009 01:58 PM
Fedora 7 wireless connection does not activate johnejo Linux - Wireless Networking 4 11-20-2007 09:00 AM
Setting up xDSL Connection with Fedora Core 1 drzeyd Linux - Newbie 8 12-07-2003 01:35 PM
xDSL/Router Network Connection o0k|ey Slackware 2 07-12-2003 07:51 PM

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

All times are GMT -5. The time now is 09:36 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