View Single Post
Old 02-06-2007, 11:18 PM   #11 (permalink)
praka123
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Smile How to Dataone Broadband in Ubuntu Feisty Fawn....

My huawei adsl router MT 880 settings looks as below:

look at the bridge mode which i selected.I think there u set up ur connection using router dialer.

^^ 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
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:
eth0      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 

 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: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 pppoeconf
^^ 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:
~$poff  dsl-provider
^ 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
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 http://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.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org

Last edited by praka123; 24-07-2007 at 02:05 PM. Reason: added lan option
praka123 is offline