people using Broadband in Feisty Fawn....

Status
Not open for further replies.

Manshahia

Resident Fanatic
I cant access all the web sites when connect via PPPoE in Ubuntu...
this problem is also present in Windows...
But in windows when i connect via Bridge it works fine...
I want to ask those who are accessing internet via PPPoE in Ubuntu..
May b they can help me out of this...
 

praka123

left this forum longback
that may be a problem with DNS resolution?try opendns. *opendns.com
I am not at all experiencing any problems in any Linux that's running.
 
OP
Manshahia

Manshahia

Resident Fanatic
Which modem are u using?
Can u do me favour by uploading the screenshots of Modem settings...
I hav done that too...
and wrote the DNS servers given by www.opendns.com in /etc/resolv.conf...
but nothing worked...
 

praka123

left this forum longback
I use huawei MT 880.I used rp-pppoe(pppoeconf) than using router's dialer.If u use same router may be i can upload the config.opendns will work only in Debian Ubuntu if u comment the line in /etc/ppp/peers/dsl-provider "usepeerdns" infront with a "#" .now try again.below is my /etc/ppp/peers/dsl-provider file may be u can try that if u used Linux dialer(pppoeconf)
Code:
jaguar:~# cat /etc/ppp/peers/dsl-provider 
# Minimalistic default options file for DSL/PPPoE connections

noipdefault
defaultroute
replacedefaultroute
hide-password
#lcp-echo-interval 30
#lcp-echo-failure 4
noauth
persist
#mtu 1492
#usepeerdns
plugin rp-pppoe.so eth0
user "username"
and in /etc/resolv.conf with these lines:
Code:
jaguar:~# cat /etc/resolv.conf 
nameserver 208.67.222.222
nameserver 208.67.220.220
now if u run a firewall,make sure u allows dns servers to pass through..
even after all this steps opendns is not working just post here ur
Code:
jaguar:~# iptables -L
 

Zeeshan Quireshi

C# Be Sharp !
Manshahia said:
I cant access all the web sites when connect via PPPoE in Ubuntu...
this problem is also present in Windows...
But in windows when i connect via Bridge it works fine...
I want to ask those who are accessing internet via PPPoE in Ubuntu..
May b they can help me out of this...
mate y don't u connect directly using LAN rather than using USB conncetion :)

it'll be much better n easier by using your modem as a router n then accessing net through it .
 

praka123

left this forum longback
@manshahia:try using opendns,it resolved my problem of slow name resolution by dataone dns servers.also no slow speeds infact speeds ~225KB/Sec ~=1.80 Mbps :D in Linux .
 
OP
Manshahia

Manshahia

Resident Fanatic
here's are the setting of my Modem...
*img339.imageshack.us/img339/6684/48872476sv2.jpg
*img339.imageshack.us/img339/1372/12lw3.jpg
 

praka123

left this forum longback
How to Dataone Broadband in Ubuntu Feisty Fawn....

My huawei adsl router MT 880 settings looks as below:
*iup.in/img/praka123/Screenshot-1.jpg
look at the bridge mode which i selected.I think there u set up ur connection using router dialer.
*iup.in/img/praka123/Screenshot-2.jpg
^^ these settings to me giving the fastest speed. :-| ur router model uh? I dont get may be a UTSTAR one?check the body of router for some clues :lol:
I'll try explaining how to set up dataone on Debian/Ubuntu Linux if u got LAN card(mostly inbuilt) in ppp mode rather than using router's inbuilt dialer.it is risky using router's configuration via dialer as someone can administer ur router if u didnt reset ur router passwd.leave it apart,
First make sure ur LAN card is enable and is up.
Code:
:~$sudo ifconfig
the output shud show ethx,where x is ur lan card(s) number.
for reference below is my output.
Code:
[B]eth0[/B]      Link encap:Ethernet  HWaddr 00:17:88:99:GE:AV  
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::214:85ff:fe98:bea2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:16343 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13328 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:17254486 (16.4 MiB)  TX bytes:2304662 (2.1 MiB)
          Interrupt:20 Base address:0xa000 

[B] lo[/B]        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:34 errors:0 dropped:0 overruns:0 frame:0
          TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1700 (1.6 KiB)  TX bytes:1700 (1.6 KiB)
if u got "lo" and "ethx" there in the output
Lets see:
first open a terminal.type and enter below commands.

Code:
:~$sudo[B] pppoeconf[/B]
^^ this will go step by step setting ur internet.at somewhere in last section,it will ask for always on connection-if u want only say yes.else say no.now after everything is over.go to ur terminal or ALT+F2 run dialog and enter :
Code:
~$ pon dsl-provider
will switch on dataone
and:
Code:
~$[B]poff  dsl-provider[/B]
^ switches off.
U can make shortcuts for this in ur desktop or top panel that will be used to on or off.

Did u configured dataone using router in-built dialer.then below tutorial is not valid for.otherwise do u remember running "pppoeconf" command.then follow this:
First be ready to use terminal :razz:
open a terminal and type :
Code:
Code:
:~$ sudo iptables -L

post the output in the thread.
now u may need to reset ur firewall rules if u ever use one.(firestarter,lokkit etc)
I'll explain how to set up opendns.open gedit as root by following below steps.
press keyboard ALT+F2 to get a run dialog.inside u type below lines and press enter.it will ask for ur passwd-enter it.
Code:
Code:
gksudo  gedit /etc/ppp/peers/dsl-provider

put a "#" before the "usepeerdns" line.then save and exit the editor.the file will look a like below one ofcorz with ur userid :
Code:
jaguar:~# cat /etc/ppp/peers/dsl-provider 
# Minimalistic default options file for DSL/PPPoE connections

noipdefault
defaultroute
replacedefaultroute
hide-password
#lcp-echo-interval 30
#lcp-echo-failure 4
noauth
persist
#mtu 1492
#usepeerdns
plugin rp-pppoe.so eth0
user "username"
look for the lan interface name using the "ifconfig" command and make sure it is "eth0" else change.but mostly pppoeconf had done the job for u.so look only the usepeerdns line.
.now again use "run" dialog by pressing ALT+F2 and run below command:
Code:
Code:
gksudo gedit  /etc/resolv.conf

inside remove/clear the page and insert below lines and save and exit.
Code:
Code:
nameserver 208.67.222.222
nameserver 208.67.220.220


now restart ur computer if u like and try switching on internet.
go to *welcome.opendns.com
^ it shud show a welcome message if everything is fine.
if u r yet to configure dataone on Ubuntu using pppoeconf command.pls look at ur threads for update.
 
Last edited:
OP
Manshahia

Manshahia

Resident Fanatic
Output of Iptables -L

Chain Input(Policy Accept)
Target Prot opt Source Destination

Chain Forward(Policy Accept)
Target Prot opt Source Destination

Chain output(Policy Accept)
Target Prot opt Source Destination



Also settled the modem to factory settings.. is that rite...??
Now when i give command pon dsl-provider
it says Plugin rp-pppoe.so loaded
but still cant browse...

Yes the modem is UTSTARCOM
 

praka123

left this forum longback
did u tried running all above commands giving ur dataone username and password etc by pppoeconf?.it shud work.else post the o/p of "ifconfig" command.U have "no" firewall running.atleast consider installing "lokkit" using synaptic.but before that set ur internet connection right.
try from start:
run ppoeconf go through every section carefully.dont select the "always on" if u really dont want.then use "pon dsl-provider" to swith on.post ur output of "ifconfig" from a terminal here.

..and yes u shud try setting "bridge mode" in ur modem encapsulation tab etc.do some research to make it work using Linux dialer rather than using router dialer
go to below page and check ur modem to work in bridge mode i am not an expert in this :-|
*www.calcuttatelephones.com/dataoneinstall/menu.html
*www.modembsnl.blogspot.com/
 
Last edited:
OP
Manshahia

Manshahia

Resident Fanatic
Output of Ifconfig
eth0 Link encap:Ethernet HWaddr 00:19:D1:7A:A0:3A
inet addr:192.168.1.33 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::219:d1ff:fe7a:a03a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2072 errors:0 dropped:0 overruns:0 frame:0
TX packets:1670 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2683148 (2.5 MiB) TX bytes:184220 (179.9 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:26 errors:0 dropped:0 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2040 (1.9 KiB) TX bytes:2040 (1.9 KiB)

Also how to set the modem now??
Factory settings??
 

praka123

left this forum longback
^^ as per ur router page screenshot just go to the router config window and select "bridge mode" instead of PPPOE/PPPOA as shown.this is not rocket science dude!the thing is that u are accessing dataone broadband via ur router dialer?isnt it?u dont have to do anything in Linux side if i am not wrong.now as with the method we discussed(pppoeconf),Linux will control the broad band.try it patiently.

see the risk if u not reset ur router passwd :
*www.thinkdigit.com/forum/showthread.php?t=57773
^^ so bridged mode seems better.
 
OP
Manshahia

Manshahia

Resident Fanatic
:) :) :) :) :) :)

wow...
thnx a lot Praka...
thnx a lot..
its working ..
and i m replying from linux rite now....
:)
 
Last edited:

praka123

left this forum longback
OK fine.I made any way a Howto for Ubuntu/Debian I suppose.Let this thread be not dumped!it may be helpful to other users too.cant it be made part of the dataone sticky?
 

mayanks_098

world is evil
^^
awesome man...
1up for makng it a sticky...

n btw some1 suggestd me making it PPPoE instaed of bridge mode.n ur sayng PPPoE.

wats d difference
 
Last edited:
OP
Manshahia

Manshahia

Resident Fanatic
+2 for sticky... :)

Huuumm... i think now i hav this topic clear...

When we use PPPoe, then we specify the username and password of our ISP in the modem, which possibly can b stolen if we havnt changed the username and password of the modem from admin to something else....

In bridge mode we use a dialer which then connects us to internet....
this cant b misused....

Correct me if i m wrong...
 
Status
Not open for further replies.
Top Bottom