nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

DSL Dlink 502T Linux Configuration for Airtel, MTNL, BSNL

This is a discussion on DSL Dlink 502T Linux Configuration for Airtel, MTNL, BSNL within the Computer Networking and Internet/broadband forums, part of the The Lounge category; I got a dsl 502 t router , pls hlp me configure my internet connection on ubuntu. where can I ...


Go Back   nixCraft Linux Forum > The Lounge > Computer Networking and Internet/broadband

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 11-22-2007, 12:34 AM
Junior Member
User
 
Join Date: Nov 2007
My distro: ubuntu
Posts: 2
Rep Power: 0
codeman is on a distinguished road
Default DSL Dlink 502T Linux Configuration for Airtel, MTNL, BSNL

I got a dsl 502 t router , pls hlp me configure my internet connection on ubuntu.

where can I get its driver for linux??
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-24-2007, 11:08 AM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

Can you tell me your Linux distribution name? 502T is router so all you have to do is hook system to switch or connect to Ethernet router port and set Linux to dhcp and you should be online.
__________________
May the force with you!
Reply With Quote
  #3 (permalink)  
Old 03-24-2008, 02:44 PM
Member
User
 
Join Date: Mar 2008
My distro: Debian, Slackware, LFS
Posts: 83
Rep Power: 1
Tux-Idiot is on a distinguished road
Talking

method . the usual manual configure of network interface

--------------------------------------------------------------------------------------
user@localbox$ su or sudo su
user@localbox# cat >> home-pesky-network-script.sh << EOF
#!/bin/bash
mii-tool -v
ifdown -all
ifconfig ethX inet 192.168.1.7 netmask 255.255.255.0 broadcast 192.168.1.255
route add default gw 192.168.1.1
ifconfig ethX up

EOF

user@localbox# echo " nameserver IP.ADD.RE.SS" > /etc/resolv.conf

user@localbox# chmod +x home-pesky-network-script.sh && sh home-pesky-network-script.sh

--------------------------------------------------------------------------------------

explaination:
user@localbox$ su or sudo su
user@localbox# cat >> home-pesky-network-script.sh << EOF
become root, open a file and add the values while you are editing the file. no need to use the pesky vi editor if you are not used to it. MEOW is good.

#!/bin/bash invoke the shell script


mii-tool -v display info about your NIC cards. please dont ask how to get 100 mbps speed when your are subscribed to 512/256/128/64 kbps dsl broadband, if you know "howto convert 64 Kbps speed to 100 Mbps using alladins magic lamp? be my guest"
ifdown -all will shutdown all interfaces YES ALL ALL.

ifconfig ethX inet 192.168.1.7 netmask 255.255.255.0 broadcast 192.168.1.255 this will give the NIC card where ethX's X is card number, if you have one card then eth0, and add for the next one, like eth1, eth2. inet is the protocol abvr for ipv4 if you use ipv6? use inet6. my LAN eth0 node IP is 192.168.1.7 and the netmask is 255.255.255.0 if you are "LAZY?" replace 255.255.255.0 with /24 broadcast is the multicast broadcast IP which is always the last IP in the LAN 192.168.1.255 DONT USE ANY THING ELSE.

route add default gw 192.168.1.1 -> THIS IS YOUR DLINK DSL ROUTER's IP, so point all traffic to that IP, YES ALL. unless you changed the gateway access point IP to something else.

ifconfig ethX up will bring up the interface alive again. Congrats you are off net lag coma.

EOF is EOF end of file. this will close the .sh file and you will gain shell again.


user@localbox# echo " nameserver IP.ADD.RE.SS" > /etc/resolve.conf -> this is where you replace IP.ADD.RE.SS with the DNS address given to you by your ISP which for airtel is 203.145.x.x call up your ISP if yours is different, and pick up the tertiary DNS always, people use the PRI and SEC and max traffic is via them, else use open dns else make one for yourself to the file /etc/resolv.conf self help is best help.


user@localbox# chmod +x home-pesky-network-script.sh && sh home-pesky-network-script.sh HURRAY YOU SET IT TO EXEC MODE WITH +x USING CHMOD AND ALSO EXECUTED IT. NOW PARTYYYYYYYYYY.

"dont forget to send me the pizza for this tiny rubbish hack doc."
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
fedora 7 connect dsl-502T anthony pereira Getting started tutorials 4 12-22-2007 02:10 PM
bsnl broadband connection using USB port in RHEl 4 linux meenal Computer Networking and Internet/broadband 1 10-08-2007 12:21 PM
iptables linux firewall laptop script for Airtel DSL raj Linux software 1 12-14-2006 05:11 PM
BSNL Broadband and BSD Ashish Pathak All about FreeBSD/OpenBSD/NetBSD 5 08-18-2006 04:56 PM
dlink router password Linux software 1 12-28-2005 12:12 AM


All times are GMT +5.5. The time now is 05:37 AM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36