LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 09-18-2004, 07:48 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Rep: Reputation: 52
How to connect broadband automatically at boot


Hi folks,

Broadband - via ADSL router
Connection - requiring login and password

Just have Debian installed with sarge-i386-netinst booting to 'init 2' only. I need to have the Debian box connected to broadband automatically at boot instead of running;

# pon dsl-provider

after booting up the box. Following file already existing;

# cat /etc/ppp/ppp_on_boot.dsl
PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
export PATH
exec pppd call dsl-provider

Please advise how to make it. TIA

B.R.
satimis

Last edited by satimis; 09-18-2004 at 07:52 AM.
 
Old 09-18-2004, 08:08 AM   #2
macondo
Senior Member
 
Registered: Jul 2003
Location: Panama
Distribution: Debian Sid
Posts: 1,014

Rep: Reputation: 49
During the installation, it asks you if you want to use ADSL, say Yes, and it will do it AUTOMATICALLY.
 
Old 09-18-2004, 10:10 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Original Poster
Rep: Reputation: 52
Quote:
Originally posted by macondo
During the installation, it asks you if you want to use ADSL, say Yes, and it will do it AUTOMATICALLY.
Hi mancodo,

Tks for your advice.

I did NET installation using sarge-i386-netinst CD. It never asked me, no such page.

B.R.
satimis
 
Old 09-18-2004, 11:59 AM   #4
macondo
Senior Member
 
Registered: Jul 2003
Location: Panama
Distribution: Debian Sid
Posts: 1,014

Rep: Reputation: 49
it must have, otherwise, how did you download?

Here's rodda's example of net install:

1.Boot screen
2.Choose language
<English>
3.Choose country or region
<United States>
4.Select keyboard layout
<American English>
5.Detecting hardware to find CDROM drives (progress bar)
6.Loading components of the Debian installer (progress bar)
7.Detecting network hardware (progress bar) NOTE: if DHCP is available on the network, the installer will automatically configure the network interface. If no DHCP server is found, a manual network entry screen will be displayed.
8.Configuring the network with DHCP (progress bar)
9.Configure the network (host)
<debian>
10.Configure the network (domain)
<home.local>

init 2 is fine, that's what i got, plus i also use ADSL.
 
Old 09-19-2004, 07:24 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Original Poster
Rep: Reputation: 52
Hi macondo,

Tks for your advice.

Net install pages

First popup following page
1) Choose Language
2) Choose Counrtry or Region
3) Select a keyboard layout
4) Detect and mount CD-ROM
5) Load installer components from CD
6) Change debconf priority
7) Check the CD-ROM(s) integrity
8) Execute a shell
9) Abort the installation

While selecting above items upto 5), IIRC, it popup another page as follow;

1) Choose Language
2) Choose Counrtry or Region
3) Select a keyboard layout
4) Detect and mount CD-ROM
5) Load installer components from CD
6) Detect Netwrok hardware
7) Configure the network
8) Continue installation remotely using SSH
9) Detect hardware
10) Partition disks
11) Install the base system
12) Install GRUB boot loader on a hard disk
13) Install LILO boot loader on a hard disk
14) Continue without boot loader
15) Finishing the installation
16) Change debconf priority
17) Configure the base system before rebooting
18) Save debug logs
19) Check the CD-ROM(s) integrity
20) Execute a shell
21) Abort the installation

It never asked filling in the requirements to connect broadband (in my case it needs Login and Password). I have to manually edit following files to get broadband connected.

/etc/ppp/pap-secrets
/etc/ppp/peers/dsl-provider
/etc/ppp/ppp_on_boot

Afterwards I can connect broadband with

# pon dsl-providers

ifconfig showing its connection to ISP. However I could only ping IP address not URL/Domain_name.

(Remark:
I have another Debian box to connect/disconnect broadband with
# pon/poff
only

# pon dsl-providers/poff dsl-providers
can't work. It complaint)

Now I need to complete the installation of this box to install KDE desktop, browser, etc. but I could not connect relevant website to download packages. Furthermore on running

# base-config

on selecting the item for packages selection. It prompted a running screen saying packages not available.

I'm prepared to make another fresh installation. Before doing so I expect to find out the cause of this failure otherwise I'll come back to the same situation again.

B.R.
satimis
 
Old 09-19-2004, 07:44 AM   #6
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Have you tried "pppoeconf"?
 
Old 09-19-2004, 10:30 AM   #7
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Original Poster
Rep: Reputation: 52
Hi Dead Parrot,

Tks for your advice.

Quote:
Have you tried "pppoeconf"?
I tried to read it. It is an execute file. I also tried to run

# pppoe start
only unreadable codes displayed.

Now I am facing another immediate problem.

I discovered if starting connection with

# pon dsl-providers

broadband connected. But I was only allowed to ping IP addresses. To ping URLs did not work. However if started connection by running

# pon

I can ping both IP address and URL. It was discovered by me on another Debian 3.0 box which did not accept

# pon dsl-providers

Only
# pon


I added "pon" on /etc/ppp/ppp_on_boot

cat /etc/ppp/ppp_on_boot
....
pon
# exec pppd call dsl-provider

Now the Debian box can't boot up hanging on
......
Starting pppd-

Is there any way to remove "pon" from /etc/ppp/ppp_on_boot and uncomment "exec pppd call dsl-provider"

TIA

B.R.
satimis
 
  


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
How to use Linux to connect to broadband? futurist Linux - Newbie 12 09-08-2005 07:14 PM
Connect multiple computers behind a broadband router timyaukey Linux - Networking 4 07-03-2004 08:44 AM
Can connect broadband but can't connect Internet satimis Linux - Networking 4 01-31-2004 07:58 PM
help! how do i connect to freeserve broadband using suse linux? miggster Linux - General 7 01-20-2004 04:23 PM
Connect to broadband problem after upgrade to RH 9.0 satimis Linux - Networking 4 07-22-2003 10:49 AM


All times are GMT -5. The time now is 04:24 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration