Smokes your problems, coughs fresh air.

Tag: kpn

Making Coyote Linux work with KPN ADSL

The Dutch ISP KPN gives you a modem+router to access the internet. The router they give you is a custom version of an Alcatel Speedtouch (model varies) and is extremely limited. I don’t use any VOIP services, so I replaced that router with a Speedtouch 546 (which supports DHCP spoofing) so that I can use my own Coyote Linux based router.

Once the DHCP spoofing was configured everything basically worked, except for the fact that KPN’s default gateway is outside of the current subnet. It is said that only Windows knows how to deal with this. To work around this, you need to add two routes: one to tell on which ethernet port the IP address of the gateway can be found and one to set it up as default gateway.

To do that in Coyote Linux, make this script and name it /etc/rc.d/rc.add-kpn-routes:

# KPN has a router that is outside the subnet, therefore these routes need to be added manually. Only windows can handle it normally.
 
log_file="/var/log/add-kpn-routes"
 "==========" >> $log_file
 "Called with param: $1" >> $log_file
 "Current route:" >> $log_file
route -n >> $log_file
 "" >> $log_file
 `cat /etc/dhcpc/eth1.info`
 "route add $dhcp_router dev eth1" >> $log_file
route add $dhcp_router dev eth1
 "route add default gw $dhcp_router eth1" >> $log_file
route add default gw $dhcp_router eth1
 "==========" >> $log_file

Then in /etc/rc.d/rc.line_up add:

# Add KPN routes
[ -x /etc/rc.d/rc.add-kpn-routes ] && . /etc/rc.d/rc.add-kpn-routes $1

When Coyote has started, it can take a while for the script to run, but it works eventually.

Don’t forget to add a newline at the end of the last line. The default editor Coyote uses doesn’t do that by default and I can somewhat remember that bad things happen when that newline misses.

Change in law regarding cell phone contracts

Cell phone providers in the Netherlands always try to screw you as hard as they can. The way it was, they were able to automatically extend your contract for another year. The way they screwed you here, is because when you sign up for a new contract, you often get discount. I for instance, was able to get a service worth € 17,50 per month for € 12,50 (240 minutes), the entire year. But, when the contract period would end, my contract would be extended automatically and I would pay € 17,50 per month for a year. You had to remember to call KPN before the contract would end and manually extend the contract to receive another discount.

The change in law is this: they now extend the contract one day, every day after the contract period is over. So, you can easily switch provider after you’ve seen that you suddenly pay € 17,50 instead of € 12,50, or sign up for another subscription at the same provider, or whatever you want to do.

Unfortunately, I couldn’t get the same amount of minutes (240) for € 12,50 again, but this time for € 15,00. For € 12,50 I would have gotten 130 minutes, which is too low. But luckily the guy gave me my first month for free, because I was long-time customer (or so he said), so that saves € 15,00, in other words, 6 months the difference between the 130 and 240 minutes. Yet in other words, I pay € 13.75 per month. I think this is an OK enough deal.

I could go through the hassle to see what kind of discount I get if I switch providers, because providers often give new customers more discount than existing ones, but I also hate that kind of administrative work and the risk of problems when I switch, so I’m happy now.

© 2024 BigSmoke

Theme by Anders NorenUp ↑