LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Debian 4.0 -- Cannot connect to the internet. (https://www.linuxquestions.org/questions/linux-newbie-8/debian-4-0-cannot-connect-to-the-internet-720194/)

somdeb 04-19-2009 08:47 AM

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

repo 04-19-2009 08:54 AM

Hi,

You need to instal pppoe

more info
http://wiki.debian.org/PPPoE

RobertP 04-19-2009 09:14 AM

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://username:password@proxyipaddress:port

(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.

repo 04-19-2009 09:19 AM

@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.

somdeb 04-19-2009 01:48 PM

Thanks repo,
Installed pppoe and could connect now.
Thanks again.

somdeb


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