Re: [ilugd] D-Link 502-T with Ubuntu 5.10

2005-12-01 Thread Shirish Agarwal
Message: 5
Date: Wed, 30 Nov 2005 07:50:06 +0530
From: Raj Mathur [EMAIL PROTECTED]
Subject: Re: [ilugd] Help! D-Link 502-T with Ubuntu 5.10
To: The Linux-Delhi mailing list ilugd@lists.linux-delhi.org
Cc: plug-mail@plug.org.in, [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


  Shirish == Shirish Agarwal [EMAIL PROTECTED] writes:
   

Shirish Hi all, I've just installed Ubuntu 5.10 in my dual-boot
Shirish box. I'm using D-Link 502T for BSNL broadband  using the
Shirish USB interface from windows without any issues. Would like
Shirish to use the same in Ubuntu. The D-Link 502T Modem/Router
Shirish is not always on. The web interface leads me to believe
Shirish that its also is Linux-based.

Haven't tried the USB interface, but I have the same box (502T) from
MTNL and am using it through Ethernet, which works fine.  Can send
more details if you need them.

With Ethernet too there are two ways of using the 502T (as a router
and as a bridge).

Regards,

- -- Raju
- -- 
Raj Mathur[EMAIL PROTECTED]  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
  It is the mind that moves
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iD8DBQFDjQxPyWjQ78xo0X8RApDkAJ9rPiqc19tD8ZZWi5Qq7i0dAGeotwCdGGr1
1ygDzCsPOuGS80HI1Y9xNPE=
=5coR
-END PGP SIGNATURE-



--


Would be glad to know any details u can forward me. Thanx in anticipation.

-- 
   Shirish Agarwal
  Life is a dream Enjoy it!
  Creative Commons, Attribution
  Non-commercial, non-derivative 



___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] D-Link 502-T with Ubuntu 5.10

2005-12-01 Thread Sudev Barar
On 12/1/05, Shirish Agarwal [EMAIL PROTECTED] wrote:
 Haven't tried the USB interface, but I have the same box (502T) from
 MTNL and am using it through Ethernet, which works fine.  Can send
 more details if you need them.

 With Ethernet too there are two ways of using the 502T (as a router
 and as a bridge).

 Regards,

 - -- Raju
 - --

 Would be glad to know any details u can forward me. Thanx in anticipation.

 --

Two totally different beasts. One works right out of the box because
ethernet is standard. The other is highly unlikely as I pointed out in
my post.

Best course fo action get BSNL to replace your USB router with a ethernet one.
--
Sudev Barar
Learning Linux

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] D-Link 502-T with Ubuntu 5.10

2005-12-01 Thread Raj Mathur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Shirish == Shirish Agarwal [EMAIL PROTECTED] writes:

Shirish -BEGIN PGP SIGNED MESSAGE- Hash: SHA1


  Shirish == Shirish Agarwal [EMAIL PROTECTED] writes:
   

Shirish Hi all, I've just installed Ubuntu 5.10 in my dual-boot
Shirish box. I'm using D-Link 502T for BSNL broadband  using the
Shirish USB interface from windows without any issues. Would like
Shirish to use the same in Ubuntu. The D-Link 502T Modem/Router
Shirish is not always on. The web interface leads me to believe
Shirish that its also is Linux-based.

Raju Haven't tried the USB interface, but I have the same box
Raju (502T) from MTNL and am using it through Ethernet, which
Raju works fine.  Can send more details if you need them.

Raju With Ethernet too there are two ways of using the 502T
Raju (as a router and as a bridge).


Shirish Would be glad to know any details u can forward me. Thanx
Shirish in anticipation.

You have to do the following to use the 502T as a bridge (assumes you
can login to the router using the web interface and configure it).
Please read this whole message before you start:

1. Setup an IP on your ethernet to communicate with the 502T.  Use
192.168.1.2.

2. Login to the router admin console using a browser:
http://192.168.1.1/ .  The default login and password are both admin.

3. Switch the first virtual circuit (pvc0) to Bridge mode
(http://shanta.linuxops.net/~raju/cgi-bin/photo/index.cgi?mode=viewpicturealbum=/Miscpicture=pvc0.pngmaxWidth=)

4. Switch the second virtual circuit (pvc1) to DSL mode
(http://shanta.linuxops.net/~raju/cgi-bin/photo/index.cgi?album=/Miscmode=viewpicturepicture=pvc1.png#start_picture).

Make sure that pvc1 is DISABLED.

4a. Save settings and reboot the 502T.

5. Install the pppoeconf utility.  In Debian it belongs to a package
called ``pppoeconf'' (apt-get install pppoeconf).

6. Now just run pppoeconf.  It will discover the DSLAM or whatever
MTNL equipment it needs to and create a configuration file for ppp.
It will also give you options to set the default route and to start
the connection at boot time.

7. Start the connection (if you haven't done so already):

  pon dsl-provider

8. Disable 'net access to anything in your computer:

  iptables -I INPUT -s ! 127.0.0.1 -j REJECT (or something equivalent)

Make sure this gets done each time you start up the computer,
otherwise you're at the mercy of all the l33t haxqu0r k1dd13z waiting
to pounce upon you on the 'net.

I don't know if the pvc1 is really needed, but it works as a backup in
case something goes wrong (just enable it and set the default route on
your computer to 192.168.1.1 if you have problems and you can continue
to use the 502T as a router).

Hope this helps, feedback welcome.

Standard disclaimer: I'm not responsible if you manage to blow up your
house or get your cat run over by using the techniques described in
this message.  Caveat emptor.

Regards,

- -- Raju
- -- 
Raj Mathur[EMAIL PROTECTED]  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
  It is the mind that moves
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iD8DBQFDj9JLyWjQ78xo0X8RAsHKAJwLBE47bGMXoKy/ecHcU/zgo4jbegCfdtuW
UduUM66Y7OpGfPlKqZ3V5jU=
=f6N8
-END PGP SIGNATURE-

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] D-Link 502-T with Ubuntu 5.10

2005-12-01 Thread Tanveer Singh
On 12/2/05, Raj Mathur [EMAIL PROTECTED] wrote:


 Hope this helps, feedback welcome.


I guess for a newbie, rather than going into bridge mode and using pppoe
client on system, we can simply put the comp in ethernet mode and let the
router do the pppoe. Using rp-pppoe etc., runs into issues many times.
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] D-Link 502-T with Ubuntu 5.10

2005-12-01 Thread Raj Mathur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Tanveer == Tanveer Singh [EMAIL PROTECTED] writes:

Tanveer On 12/2/05, Raj Mathur [EMAIL PROTECTED] wrote:

 Hope this helps, feedback welcome.

Tanveer I guess for a newbie, rather than going into bridge mode
Tanveer and using pppoe client on system, we can simply put the
Tanveer comp in ethernet mode and let the router do the
Tanveer pppoe. Using rp-pppoe etc., runs into issues many times.

You're right, at least about the comparative complexity of using PPPoE
vs routing modes.  However, using PPPoE (on the host) does have the
following advantages:

1. You get a routable IP and, if you really want, can expose services
to your friends on the Internet.  For instance, you can put up files
for downloading on your Apache web server and give people the IP to
download them from temporarily.

2. You control the connection.  I use the 590NU (night unlimited)
plan, where MTNL requires me to restart the connection at midnight and
0800.  If I use the router mode, I have to physically switch the 502T
off and on.  OTOH, with host PPPoE mode I have a simple cron entry
that does the switching (poff; pon) automagically at 00:05 and 07:58,
with me blissfully asleep.

3. In general, i prefer to have control over my connections rather
than some piece of hardware about which I know next to nothing.  To
take an example, in host PPPoE mode, the 502T is inaccessible from the
Internet, and people cannot exploit any weaknesses in it.  In router
mode, however, the 502T is exposed to the 'net and potentially
vulnerable to exploits.

Regards,

- -- Raju
- -- 
Raj Mathur[EMAIL PROTECTED]  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
  It is the mind that moves
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iD8DBQFDj9juyWjQ78xo0X8RAk/1AJ4xVtjL+coocH+Q00F/zmxhAPRqnACfXCo2
nNOYR2dP81FqlMhbFCK9iw8=
=vPZI
-END PGP SIGNATURE-

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] D-Link 502-T with Ubuntu 5.10

2005-12-01 Thread Tanveer Singh
On 12/2/05, Raj Mathur [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

  Tanveer == Tanveer Singh [EMAIL PROTECTED] writes:

 Tanveer On 12/2/05, Raj Mathur [EMAIL PROTECTED] wrote:

  Hope this helps, feedback welcome.

 Tanveer I guess for a newbie, rather than going into bridge mode
 Tanveer and using pppoe client on system, we can simply put the
 Tanveer comp in ethernet mode and let the router do the
 Tanveer pppoe. Using rp-pppoe etc., runs into issues many times.

 You're right, at least about the comparative complexity of using PPPoE
 vs routing modes.  However, using PPPoE (on the host) does have the
 following advantages:

 1. You get a routable IP and, if you really want, can expose services
 to your friends on the Internet.  For instance, you can put up files
 for downloading on your Apache web server and give people the IP to
 download them from temporarily.


Agreed, but I think by the time he gets to this level, he can go the pppoe
way

2. You control the connection.  I use the 590NU (night unlimited)
 plan, where MTNL requires me to restart the connection at midnight and
 0800.  If I use the router mode, I have to physically switch the 502T
 off and on.  OTOH, with host PPPoE mode I have a simple cron entry
 that does the switching (poff; pon) automagically at 00:05 and 07:58,
 with me blissfully asleep.


You can reboot the modem by a script too! Check out vinuthomas.com

3. In general, i prefer to have control over my connections rather
 than some piece of hardware about which I know next to nothing.  To
 take an example, in host PPPoE mode, the 502T is inaccessible from the
 Internet, and people cannot exploit any weaknesses in it.  In router
 mode, however, the 502T is exposed to the 'net and potentially
 vulnerable to exploits.


No its not. All you have to do is block all connections  from outside world.
Simple. then computers only on the ethernet side can connect. Infact you
have a  hardware firewall router sitting, which is more powerful than
anything else :D

regards
Tanveer
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/