blino's website

Free software developer and more

Last week, I subscribed to a new ISP (Free), to benefit from discounts as well as better hardware, gateway and set-top-box.

My new ISP and the incumbent operator were fast enough to take over my DSL line not even 2 days after my subscription. Though, Free did not bother sending the new equipment yet, I was left with the gateway from my previous ISP which was not connecting anymore.

To get back online, I had to pull out a few tricks I used to do a while back when I was at Mandriva with the only legacy modem I got: a green Speedtouch USB (nicknamed the "manta ray").

Unfortunately, the DrakX network tools that I used to maintain do not seem to work anymore with this modem and the quite unusual DSL connection using IP over ATM.

I had to install the speedtouch-firmware package, needed by the spedtch module, as well as linux-atm, providing the atmarp tools.

The modem was synchronizig fine, though about twice as slow as usual (this is an ADSL1 modem), according to the dmesg logs:

[14264369.849647] ATM dev 0: ADSL line is synchronising
[14264413.298572] ATM dev 0: DSL line goes up
[14264413.307430] ATM dev 0: ADSL line is up (7200 kb/s down | 896 kb/s up)

There are a few atmarp commands to run to configure IP over ATM:

# atmarpd -b -l syslog
# atmarp -c atm0
# ifconfig atm0 82.235.5.110 netmask 255.255.255.0 mtu 1500 up
# ip link set dev atm0 down
# ip link set dev atm0 up
# atmarp -s 82.235.5.254 8.36 null

And voila!

# ping 82.235.5.254
PING 82.235.5.254 (82.235.5.254) 56(84) bytes of data.
64 bytes from 82.235.5.254: icmp_seq=1 ttl=64 time=37.9 ms
# route add default gw 82.235.5.254

To avoid ATM fragmentation, we can configure the MTU to match a whole number of ATM cells (thanks Loïc!):

ifconfig atm0 mtu 1480

Finally, to use my PC as a gateway on my local network:

iptables -t nat -F POSTROUTING 
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -j MASQUERADE

That's pretty old school, but I am back on the Internet! :-)

Manta ray in action!



/blog/tech Global private DNS Fri, 19 Mar 2010

I was wondering why going to suzuki.fr opened my local webpage. Looks we have a little DNS issue:

$ host suzuki.fr
suzuki.fr has address 192.168.0.1
suzuki.fr has address 82.67.155.173
suzuki.fr mail is handled by 10 bow.rain.fr.
suzuki.fr mail is handled by 0 mail.suzuki.fr.


To get rid of some noise from my main computer which is (almost) always online, I've decided to replace the AMD "box" fan and the (dead) northbridge fan from my A8N-SLI Deluxe motherboard. I've chosen to use a Thermalright XP-90 heatsink together with an Akasa Ultra Quiet (yellow) fan, and a Zalman ZM-NB47J nothbridge heatsink.

After a few hours of fighting to remove the old heatsinks/fans, and to install the new ones, I got my computer up again \o/ (my last fan replacement try made my 5-years old XP 800+ processor die...)

What a change, the fan is really quiet, and the temperatures level look correct. Too bad that my X550 graphical card has as well a noisy fan, it will probably get replaced soon :-p

While I was at it, I've upgraded the motherboard BIOS, to see if there was any improvement about suspend and hibernation. I've used freedos to flash the (Award) Bios with a bootable CD. It went well, but suspend and hibernation still fail...



blosxom Optimised for standards.
Olivier Blin (2005)