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 04-19-2009, 08:47 AM   #1
somdeb
LQ Newbie
 
Registered: Apr 2009
Location: India
Distribution: Debian 4.0r4
Posts: 4

Rep: Reputation: 0
Debian 4.0 -- Cannot connect to the internet.


Hi,

Please help me with connecting to the net with debian.

I have recently switched over from Win XP to debian 4.0
and have not yet been able to connect to the internet through debian.

on XP this is typically what I do to set up a new connection:

1. Network connections --> Create new connection
2. connect to the internet --"Next"--> set up my connection manually
3. connect using broadband connection that requires username and
password.
4. <prompted for ISP name> ... any string is fine here.
5. <prompts for username and password> I have these.
6. new Connection created. now I may dbl-click this icon to connect.


Please guide me to show what should I do on debian to connect -- all other things remaining the same.

Thanks a lot,
Somdeb
 
Old 04-19-2009, 08:54 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Hi,

You need to instal pppoe

more info
http://wiki.debian.org/PPPoE
 
Old 04-19-2009, 09:14 AM   #3
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
Smile

I have not used such an ISP before, but Debian has a method of dealing with it if it is a proxy server your are connecting.

GNOME GUI:
Desktop/preferences/network proxy/

setup manual proxy and click "details", "use authentication" and supply username and password.

CLI:
in ~/.bashrc
edit in
export http_proxy="http://usernameassword@proxyipaddressort

(smilies inserted somehow... username colon password at proxyipaddress colon port)

port is often 8080 or nothing for transparent proxying.

You will have to log out/in to pick up the changes to .bashrc or your can just run it:
~/.bashrc

To do this for all users, edit /etc/bash.bashrc or /etc/profile or /etc/skel/.bashrc to pick it up for new users.

From man bash:
When bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable. The --noprofile option may be used when the shell is started to inhibit this behavior.

When a login shell exits, bash reads and executes commands from the file ~/.bash_logout, if it exists.

When an interactive shell that is not a login shell is started, bash reads and executes commands from /etc/bash.bashrc and ~/.bashrc, if these files exist. This may be inhibited by using the --norc option.
The --rcfile file option will force bash to read and execute commands from file instead of /etc/bash.bashrc and ~/.bashrc.
 
Old 04-19-2009, 09:19 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
@RobertP

AFAIK
The OP uses a modem and a broadband connection
for this connection you need a username and password, in order to make the connection
Has nothing to do with proxy.
 
Old 04-19-2009, 01:48 PM   #5
somdeb
LQ Newbie
 
Registered: Apr 2009
Location: India
Distribution: Debian 4.0r4
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks repo,
Installed pppoe and could connect now.
Thanks again.

somdeb
 
  


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
cannot connect to the internet via bthomehub on debian linux rich13348 Linux - Newbie 22 04-05-2009 10:14 AM
Unable to connect debian Virtual Machine to internet hackersapien Linux - Newbie 2 09-30-2008 10:47 PM
Debian can't connect to Internet oopsnic Linux - Hardware 1 03-11-2005 05:27 PM
My Debian box can't connect Internet satimis Linux - Networking 6 12-18-2003 05:31 AM
Debian Linux - Configuring Ethernet To Connect To The Internet acidbreez Linux - Networking 4 08-11-2003 12:02 AM

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

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration