Submitted by microx on Sat, 16/10/2004 - 15:42.
( categories: Networking and Servers)

Is anyone using Gaim on Linux over an ADSL connection using a router?

At first I had a USB Speedtouch modem connected to a Windows PC, and I was connecting with my Linux to the ADSL through the Windows Internet Connection Sharing. Gaim was working fine with ICQ, MSN, Yahoo and IRC.

Now, I bought a D-Link DSL-500T ADSL router, and I connected both PCs (Windows and Linux) through to the router with a switch, and nothing seems to work. Browsing works OK.

I am not sure whether to use port-forwarding or UPnP, but I tried everything and I can't get it to work. Was anyone successful in doing this? The most important thing to me now is to get on ICQ.

--MicroX

ShErbO's picture
Submitted by ShErbO on Sun, 17/10/2004 - 01:19.

I'm not sure but I THINK it's port forwarding.... check out the port ICQ uses to connect & set it up !


linuxawy's picture
Submitted by linuxawy on Sun, 17/10/2004 - 08:13.

i got the same problem when i got that shit called 500T, the problem is that the router tries to get smart and through DHCP is brodcasts its own ip to be the DNS, and he gets the DNS requests and forwards them to the real DNS and gets you the answer back (i dunno why doesn't he let you get directly to the real DNS :S ) .. browsing goes really fine with that, and xchat too (though it gets more delay when resolving ip's) but badly gaim couldn't do the same, so your solution is to configure DNS manually, or i guess forgetting about DHCP aslan cause it's too slow...

Ahmed D. El-Mekkawy

  • I was known as Black Cat

microx's picture
Submitted by microx on Sun, 17/10/2004 - 12:50.

Wow.. great, I'll try that when I get home. :-)

By the way, all routers do this DNS forwarding. Even Windows ICS did it and Gaim worked with that. Also, I managed to get ICQ2Go, Kopete and GnomeICU to work with my router as it is, only Gaim is being silly.

The 500T is not that bad, I would still recommend it. I had a very bad experience with an even worse one called Billion 5100 which I returned. I even agreed that the shop deduct 50LE from its price, I wanted to get rid of it so much, it was horrible.

I liked the 500T because it runs on Linux itself, so it's very easy to understand how it works and it feels comfortable with the rest of my Linux setup. I even have the source code, you can change the router s/w, recompile and flash it onto the router if you're brave enough. :-) It's easy enough to set a DNS I guess, or disable DHCP if you have a static network. The only thing that really bugs me is the lack of port-triggering (needed for things like ICQ file transfer and P2P sharing).


linuxawy's picture
Submitted by linuxawy on Sun, 17/10/2004 - 22:10.

that's cool, i didn't know that before.. i hope you can tell me where can i find the source code of its software.. and i have a prob. about port forwarding which i couldn't solve till now.. you got any ideas about that?

Ahmed D. El-Mekkawy

  • I was known as Black Cat

microx's picture
Submitted by microx on Sun, 17/10/2004 - 23:43.

I just tried copying the DNS servers from the router's config page to /etc/resolv.conf and then started Gaim... dakhal zay el-erd. :-) Thanks for the tip. Now I just set the network settings in Fedora to only get the IP by DHCP and not the DNS, and all is good.

It sure is Linux, running on a MIPS processor. Try to telnet to the router's IP and play around a bit. Or enable UPnP and then look in the network connections on a Windows machine, it should say "Local Area Connection on Linux IGD".

You can find the source code on D-Link's site, http://www.dlink-intl.com/, in the drivers section. It will need a little exploration though before you know how to compile it all correctly, but sure enough you will find the Linux kernel source in there along with several other networking packages.

What is your port-forwarding problem specifically? I am still a beginner with all this router stuff, but I can try or maybe I've seen it by chance.


linuxawy's picture
Submitted by linuxawy on Tue, 19/10/2004 - 06:04.

that is one of my problems with 500T, is that it doesn't telnet :S it always refuses my login i dunno why is that.. and i can't do any port forwarding to make any body ssh me for example.. i even couldn't ssh another box outside my network.. i'm not sure what's happening to me with this router :S is anything special you've done to activate telnet more than putting the ip in the advanced security tab???

Ahmed D. El-Mekkawy

  • I was known as Black Cat

microx's picture
Submitted by microx on Tue, 19/10/2004 - 07:20.

No, nothing special except that you log in as "root" (not "admin" or whatever username you set), but use the same password you use for the config page.

You can do port-forwarding from the config page, you don't need telnet for that. Or did you try it for ssh and it doesn't work?


linuxawy's picture
Submitted by linuxawy on Tue, 19/10/2004 - 14:18.

it worked with root as a username.. it's beautiful from inside.. linux on my router.. i like that :) thx for that tip very much .. about port forwarding i'm trying to make it for ssh, the prob is that when someone tries to ssh me it freezez.. did try making a port forwarding?

Ahmed D. El-Mekkawy

  • I was known as Black Cat

MohammedSameer's picture
Submitted by MohammedSameer on Tue, 19/10/2004 - 21:52.

Linux ? COOL!

You can check whether iptables is there and log the incoming/outgoing packets and c what's the problem with ssh.

-- I was known as Uniball!
Katoob Main developer
PekSysTray - GtkFlame


linuxawy's picture
Submitted by linuxawy on Wed, 20/10/2004 - 16:10.

i was going to make that but my pc is down now :S almost a mother board.. i hate the days without computer..

Ahmed D. El-Mekkawy

  • I was known as Black Cat

Submitted by meto on Fri, 22/10/2004 - 11:16.

So guys...

After all, I'm going to by an ADSL router. So, shall I go for it, the DSL-500T...I intend to configure it with PPPoE...Did anyone try this before? If so, how well did it work?

Thanks

microx's picture
Submitted by microx on Fri, 22/10/2004 - 14:14.

Yes, go for it. I think it is the best option available in this price range, at least in Egypt.

But which provider uses PPPoE?


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.