Setting Up Connection In Ubuntu Linux

Apoorv Khatreja

Super Loser
[OP]
Regulars
Nov 7, 2006
1,360
11
Delhi
I recently installed Ubuntu 6.10 (Edgy Eft). As I am a user of DSL NU plan, so I use the bridged mode to automate my downloads by dialling a connection. But I am not able to configure this in Ubuntu. Could anybody help me out? Is there anybody who has had the same problem with any flavour of Linux?P.S. - I have a UT 300 R2U.
 

Apoorv Khatreja

Super Loser
[OP]
Regulars
Nov 7, 2006
1,360
11
Delhi
Goto Network connections in Ctrl panel >> Create a new connection >> connect to the internet >> setup my connection manually >> connect using broadband connection that requires username & password >> Put in the ISP name ie MTNL >> put in ur username and password >> add a shrtcut (will make it easy to find after setting up the connex.)
[/b]


This is how I created the connection in Windows, thanks to cyberwiz. I've been able to change the DHCP to a static IP, which was mentioned in above quoted post, but I'm unable to figure out how to make the connection for dialling.
 

aniketvb

Linuxguy
Regulars
Oct 2, 2005
466
0
after you set up bridge mode....use the command ¨sudo pppoeconf¨ to configure the connection
 


max

Regulars
Regulars
Oct 6, 2005
2,780
6
buddy do you really need the bridge mode? why the specific requirement? we can work around it cuz the regular mode is much less headache than the bridge mode.
 

(S)aint

Regular
Regulars
Oct 2, 2005
103
0
Totally agree with max on this one... :rolleyes: couldnt you just schedule like the rest!
 

Apoorv Khatreja

Super Loser
[OP]
Regulars
Nov 7, 2006
1,360
11
Delhi
I really do need the bridge mode, at least in Windows i do. In Windows, it's much more easier to schedule the reboot. The telnet method was pathetic. Moreover, at anytime of the day, if i have to reboot, i just have to disconnect the connection. That's all.

1) This method requires a hard router reboot. In layman's terms, this means that you will see the green lights on your router turn off, and then light up again after some time, once the router is done rebooting. Connecting and disconnecting in bridged mode does not need a hard reboot. Who knows, this may even prolong the life of your router in the long run

2) When the above script runs, you will be disconnected from the net, but will be connected right away automatically once the router finishes rebooting. There is no way to tell the router to just "stop" but don't reconnect again, using this script. With bridged mode, I can stop and start my connection independently whenever I want.

3) With the default PPPoE mode, you are always connected to the internet, as long as your router is turned on. In bridged mode, I can disconnect, even though my router is still on, and reconnect again whenever I want.

4) Overall, the bridged method is a much cleaner, faster (no waiting for router to reboot etc.), and elegant solution.[/b]

Maximum speed over torrents which u might/might not get over the other mode.

No hassles of portforwarding for any application. for eg some voip applications like microsoft portrait dont traverse NAT very well.

U have the added advantage of greater control over your internet connection..u can connect and disconnect with a click from the tray...no reboots needed. U know exactly when ur connection is on and when its not..with the router its always on..if u have microsoft updates or antivirus/firewall updates enabled..they might get updated even without ur knowing it..consuming precious day-time MB's[/b]
 


cyberwiz

Senior Member
Regulars
Mar 11, 2005
2,477
45
Delhi
Its not too difficult to get a dialer for PPPoE connection in linux. U can use rp pppoe from http://www.roaringpenguin.com/penguin/open...roducts/rpPppoe

After installing the tar.gz u need to feed the username password into it and then use the command from the shell ie. pon dsl-provider to establish the connection.

I am not very good with linux perhaps max and aniketvb, the "linux guyz" can help u out further with this or u can browse the net for more help in configuring "rp-pppoe"
 

Apoorv Khatreja

Super Loser
[OP]
Regulars
Nov 7, 2006
1,360
11
Delhi
after you set up bridge mode....use the command ¨sudo pppoeconf¨ to configure the connection[/b]

OK, I did this. I was able to connect and get my connection running. It asked me whether I want to dial this connection on startup. I accepted it. But what if I want to switch-off the modem in b/w ad then reconnect?

@Cyberwiz

As you may remember, I have quite a lot of problems in connecting and I hardly get connected in a single attempt.

@ECHO OFF

:loop
Echo Trying to Dial your connection.........
rasdial DSLname username password

if NOT %ERRORLEVEL% ==0 goto failed

Exit
:failed
cls

Echo Failed to connect....will retry

goto loop[/b]

Can you write a similar program for Ubuntu? Or could you suggest a program like Free Download Manager which would do the job? I'm so desperate because I'm fed up of buggy Windows XP. My friend introduced me to the concept of open source software, and since then, instead of downloading wares, I download a freeware open source alternative, which is generally better. I started using Ubuntu about 3 months back, and since then, I've started to lose interest in Windows and gain more and more interest in various Linux distros.
 

cyberwiz

Senior Member
Regulars
Mar 11, 2005
2,477
45
Delhi
If u need to disconnect the connection simply type poff at the terminal. I am not aware of a GUI for rpppoe or any other pppoe software having GUI for Ubuntu. U can try ur luck at www.ubuntuforums.org
 

aniketvb

Linuxguy
Regulars
Oct 2, 2005
466
0
If you download latest version (3.8 I think) of rp-pppoe from roaringpenguin site...it has a GUI.Just install from source in the usual way and then use command "tkpppoe" for GUI or pon/poff from command line.