Saturday, 4 February 2012

Pulseaudio simple web interface (CGI/Perl)

Spending time banging my head against Ubuntu 11.10 due to a lack of consistency regarding lirc. The upshot of this is that we require a method to control PulseAudio volume from a webserver. Here is one way to do it. It provides mute/unmute and quiet/medium/loud volumes.

Download PulseAudio CGI Volume control

There are a few caveats - the webserver needs to run as the same user as the pulseaudio daemon. apache-mpm-itk is used to do this. It also is a sledgehammer to crack a nut. It is very basic. Other people might use it for nefarious purposes. I highly recommend setting Apache to only serve pages to localhost.

Thursday, 1 December 2011

BT Infinity Re-profiling

Our Draytek 2750N has got a new VDSL profile (17a from 8c). This is probably in preparation for the 80Mb roll-out in the new year. It looks like we might be getting nearly 70Mb once they lift the cap.


VDSL Status

VDSL
Link Status
Firmware Version 1411f0
VDSL2 Profile 17a
Basic StatusUpstreamDownstreamUnit
Actual Data Rate 9999 34984 Kb/s
SNR 269 176 0.1dB
Advance Status UpstreamDownstreamUnit
Actual delay 0 8 ms
Actual INP 0 30 0.1 symbols
15M CV 0 0 counter
1Day CV 0 0 counter
15M FEC 00 counter
1Day FEC 0 21 counter
Total FEC 1 2633376 counter
Previous Data Rate 9998 32396 Kbps
Attainable Rate 23789 68158 Kbps
Electrical Length 37 37 0.1 dB
SNR Margin 270 N/A (US0,--) 0.1 dB
SNR Margin 269 176 (US1,DS1) 0.1 dB
SNR Margin 269 177 (US2,DS2) 0.1 dB
SNR Margin N/A 176 (US3,DS3) 0.1 dB
SNR Margin N/A N/A (US4,DS4) 0.1 dB
15M Elapsed time 156 156 secs
15M FECS 0 0 counter
15M ES 0 0 counter
15M SES 0 0 counter
15M LOSS 0 0 counter
15M UAS 0 0 counter
1Day Elapsed time 10056 10056 secs
1Day FECS 0 3 counter
1Day ES 0 0 counter
1Day SES 0 0 counter
1Day LOSS 0 0 counter
1Day UAS 0 0 counter
Total FECS 1 25337 counter
Total ES 1 13 counter
Total SES 0 27 counter
Total LOSS 0 30 counter
Total UAS 66 713 counter

Tuesday, 4 October 2011

Ramsbottom dvbscan scan frequencies

Attached are the frequencies and channel list for the Ramsbottom (Grants Tower) Freeview dvb-t transmitter.

Frequencies:
#------------------------------------------------------------------------------
# file automatically generated by w_scan
# (http://wirbel.htpc-forum.de/w_scan/index2.html)
#! 20110702 1 0 OFDM GB
#------------------------------------------------------------------------------
# location and provider: Ramsbottom Grants Tower
# date (yyyy-mm-dd)    : 2011-10-03
# provided by (opt)    : tng
#
# T[2] [# comment]
#------------------------------------------------------------------------------
T 490000000 8MHz AUTO AUTO     AUTO AUTO AUTO AUTO
T 514000000 8MHz AUTO AUTO     AUTO AUTO AUTO AUTO
T 746000000 8MHz  2/3 NONE    QAM64   8k 1/32 NONE
T 762000000 8MHz  1/2 NONE     QPSK   8k 1/32 NONE
T 801833000 8MHz  2/3 NONE    QAM64   8k 1/32 NONE
T 778000000 8MHz  2/3 NONE    QAM64   8k 1/32 NONE
T 770000000 8MHz  2/3 NONE    QAM64   8k 1/32 NONE
T 793833000 8MHz  2/3 NONE    QAM64   8k 1/32 NONE
T 730000000 8MHz AUTO AUTO     AUTO AUTO AUTO AUTO    # North West
T 786000000 8MHz AUTO AUTO     AUTO AUTO AUTO AUTO    # North West


Channel list:
BBCONE:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERAR
CHY_AUTO:101:102:4168
BBCTWO:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERAR
CHY_AUTO:201:202:4287
BBCTHREE:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIER
ARCHY_AUTO:301:302:4288
BBCNEWS:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERA
RCHY_AUTO:501:502:4352
BBCRedButton:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO
:HIERARCHY_AUTO:0:0:4416
BBCFOUR:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERA
RCHY_AUTO:401:402:4544
CBBCChannel:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:H
IERARCHY_AUTO:0:0:4608
CBeebies:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERA
RCHY_AUTO:0:0:4672
BBCParliament:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO
:HIERARCHY_AUTO:601:602:4736
BBCR5L:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERAR
CHY_AUTO:0:1402:5632
BBCR5SX:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERA
RCHY_AUTO:0:1502:5696
BBC6Music:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HI
ERARCHY_AUTO:0:1602:5760
BBCRadio4Ex:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO
:HIERARCHY_AUTO:0:1702:5824
BBCR1X:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERAR
CHY_AUTO:0:1802:5888
BBCAsianNet.:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO
:HIERARCHY_AUTO:0:1902:5952
BBCWorldSv.:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:
HIERARCHY_AUTO:0:2002:6016
BBCRadio1:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HI
ERARCHY_AUTO:0:1002:6720
BBCRadio2:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HI
ERARCHY_AUTO:0:1102:6784
BBCRadio3:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HI
ERARCHY_AUTO:0:1202:6848
BBCRadio4:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HI
ERARCHY_AUTO:0:1302:6912
301:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_
AUTO:901:951:7168
ITV1:786000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY
_AUTO:515:654:8267
ITV2:786000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY
_AUTO:2819:2820:8325
Rabbit:786000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARC
HY_AUTO:0:0:8637
Channel4:786000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIER
ARCHY_AUTO:2829:2830:8384
Channel4+1:786000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HI
ERARCHY_AUTO:768:769:8452
E4:786000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_A
UTO:773:774:8448
More4:786000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARC
HY_AUTO:590:591:8442
GayRabbit:786000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIE
RARCHY_AUTO:0:0:8577
Channel5:786000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIER
ARCHY_AUTO:2950:2851:8500
ITV1+1:786000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERAR
CHY_AUTO:600:601:8367

Sunday, 18 September 2011

Netboot 2.6 Kernels with gPXE/Etherboot and BOOTP

When you can't use ISC dhcpd and pxelinux for Netbooting Diskless clients.

NEWSCHOOL METHOD:

http://www.fefe.de/netboot/how-to-netboot-installer.html

Here's my ISC dhcpd configuration for booting a laptop at home:

host thinksen {
filename "/tftpboot/debian/pxelinux.0";
server-name "danny";
next-server servername;
hardware ethernet 00:11:25:5C:E4:EB;
fixed-address 192.168.1.169;
}

tng@danny:/tftpboot/debian$ ls
debian-6.0.2.1-i386-netinst.iso mini.iso pxelinux.0 version.info
debian-installer netboot.tar.gz pxelinux.cfg


OLDSCHOOL METHOD

However, sometimes bootpd is already installed and a moving everything over the dhcpd just isn't the way to do things. We need to work with what is already installed and used and understood. In this case a new kernel was required for newer hardware.

Building a kernel is well understood, but there are a few options that need to be set. You can either build a monolithic kernel or a kernel with an initial ramdisk. If you are building an initial ramdisk, then make a new directory

# cp -rp /etc/initramfs-tools /etc/initramfs-tools-nfsroot

# Edit /etc/initramfs-tools-nfs/initramfs.conf

MODULES=netboot
BUSYBOX=y
COMPCACHE_SIZE=""
BOOT=nfs
DEVICE=eth0
NFSROOT=danny:/netboot_home

Build a kernel and a Ramdisk

#mkinitramfs -d /etc/initramfs-tools-nfsroot -o initrd.img-2.x.yz.abnfs 2.x.yz.abnfs

(Where 2.x.yz.abnfs is the name of the kernel and the modules directory in /lib/modules/)


The usual procedure having got a kernel and an initrd.img is to build a wrapped image. This contains the extra information that the gPXE/Etherboot Kernel needs and any optional arguments. Now the usual procedure for etherboot is to use mkelf-linux, but 2.6 kernels are *not* supported. Sometimes they boot and say ok at the end of the tftp but don't load into Memory. Sometimes they crap out during the tftp load .......

The only workaround for these errors is to use wraplinux which needs downloading from ftp.kernel.org (which is currently down due to break-ins) - pub/linux/utils/boot/wraplinux. This information is hidden in the etherboot documentation, but the etherboot manual shows up before the wiki:

OLD INFORMATION
http://www.etherboot.org/doc50/html/userman-4.html

NEW INFORMATION
http://etherboot.org/wiki/doc

http://www.mirrorservice.org/sites/ftp.kernel.org/pub/linux/utils/boot/wraplinux/

Build it as usual: extract the tarball, configure; make; make install

# wraplinux -p 'ip=bootp root=/dev/nfs rw nfsroot=danny:/netboot_home' -i initrd.img-2.x.yz.abnfs -o ./gpxe-vmlinuz bzImage-2.x.yz.abnfs


Alternatively, it is possible to build a monolithic Kernel

The following options need enabling:

#Kernel configuration->#Networking Support->#Networking Options
[*] IP: Kernel level autoconfiguration
[*] IP: DHCP Support
[*] IP: BOOTP Support

#File Systems->#Network File Systems
[*] Root Filesystem on NFS

# wraplinux -p 'ip=bootp root=/dev/nfs rw nfsroot=danny:/netboot_home' -o ./gpxe-vmlinuz bzImage-2.x.yz.abnfs

Copy the kernel to the bootp server, edit the /etc/bootptab to suit and then boot off your gPXE.iso.

Saturday, 17 September 2011

5 Leaves Left

Rolling a fat one (kernels)

It's been 5 years since I've had to roll my own kernel and things have changed. I've always viewed ramdisks as somewhat of a dark art, but they appear to be highly configurable. I was just too lazy/in too much of a hurry in the past to find out how they were built.

So, download the source from www.kernel.org (or mirrorservice.org for our UK based viewers).

Unpack into /usr/src as per normal and make the symlink

# cd /usr/src
# ln -s linux-2.x.yz.ab linux
# cd linux

Copy the appropriate config file from wherever you want /boot/config* is a good first stab.
# cp config-2.x.yz.ab-generic .config

Edit the Makefile and add your appropriate Extraversion

FROM:

VERSION = 2
PATCHLEVEL = x
SUBLEVEL = yz
EXTRAVERSION = .ab-generic
NAME = Flesh-Eating Bats with Fangs

TO:

VERSION = 2
PATCHLEVEL = x
SUBLEVEL = yz
EXTRAVERSION = .ab-tb1
NAME = Flesh-Eating Bats with Fangs

Time to update the config. oldconfig saves time as it just builds/converts and makes sensible decisions for you. make config is for the hardcore.

# make oldconfig
# make menuconfig
Tweak as necessary.
Copy .config config-2.x.yz.ab-tb1

If you want to build a Debian package, then the easiest way is:
# make-kpkg kernel_image --append-to-version tommybobbins1

Slightly oddly make-kpkg doesn't make the initrd.img correctly (as far as I could see- loads of people reporting errors, but only hacks to fix it). I decided to roll my own as I was determined to understand exactly what I needed to get it to boot. Also Automagic grub editing on roll your own kernels gives me the heeby-jeebies.

If you like to roll and deploy old school:

# make bzImage; make modules; make modules_install

Now you need a Ramdisk. Now there is a clever little directory which is called /etc/initramfs-tools. You need to understand this directory quite well - modules and initramfs.conf being very important.

I made my own copy of this directory as I had particular needs (needed to make sure the SATA drivers were loaded into the Ramdisk) so I created /etc/initramfs-tools-custom and then added to /etc/initramfs-tools-custom/modules

# List of modules that you want to include in your initramfs.
#
# Syntax: module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod
ahci
usbhid

Now it's time to create our Ramdisk:

# mkinitramfs -d /etc/initramfs-tools-custom -o initrd.img-2.x.yz.ab-tb1 2.x.yz.ab-tb1

Gather all the needed files
# mkdir /home/tommybobbins/Desktop/DEPLOY_KERNEL/
# cp /usr/src/linux/System.map /home/tommybobbins/Desktop/DEPLOY_KERNEL/System.map-2.x.yz.ab-tb1
# cp initrd.img-2.x.yz.ab-tb1 /home/tommybobbins/Desktop/DEPLOY_KERNEL
# cp /usr/src/linux/arch/i386/boot/bzImage /home/tommybobbins/Desktop/DEPLOY_KERNEL/vmlinuz-2.x.yz.ab-tb1
# zip -r /home/tommybobbins/Desktop/DEPLOY_KERNEL/modules.zip /lib/modules/2.x.yz.ab-tb1/

Obviously, the System.map, the Kernel and the Ramdisk need to end up in /boot and the modules need to end up in /lib/modules/2.x.yz.ab-tb1

If using Grub <2 and assuming your root filesystem is on /dev/sda1 then edit /boot/grub/menu.lst and add the following:

title TEST
root (hd1,0)
kernel /vmlinuz-2.x.yz.ab-tb1 root=/dev/sda1 ro
initrd /initrd.img-2.x.yz.ab-tb1
quiet

Save and then run grub-install

# /usr/sbin/grub-install /dev/sda

If using GRUB2, then please see here:
http://ubuntuforums.org/showthread.php?t=1195275

Next post about Netbooting, gPXE's epicness and making monolithic kernels (and when did monolithic kernels go from floppy sized to 4MB?).

Wednesday, 7 September 2011

Draytek 2750n and profile drop

After a month of using the 2750N, I discovered that my profile had been capped at 31750Kbit/s. http://speedtester.bt.com/ Looking through the logs, I could see a lot of disconnections not caused by anything at my end (no changes made and nothing odd happening on the LAN), but the PPP link kept being terminated:

Aug 19 11:13:22 192.168.1.1 pppd[10704]: No response to 5 echo-requests
Aug 19 11:13:22 192.168.1.1 pppd[10704]: Serial link appears to be disconnected.
Aug 19 11:13:22 192.168.1.1 pppd[10704]: Connect time 0.7 minutes.
Aug 19 11:13:22 192.168.1.1 pppd[10704]: Sent 666 bytes, received 328 bytes.
Aug 19 11:13:23 192.168.1.1 root: revert uci network state in ip-down...
Aug 19 11:13:25 192.168.1.1 root: [WAN] check default route failed:(0), revert WAN state and ifup wan...
Aug 19 11:13:26 192.168.1.1 root: stopping ntpclient
Aug 19 11:13:27 192.168.1.1 pppd[10704]: Terminating on signal 15
Aug 19 11:13:29 192.168.1.1 pppd[12063]: Plugin rp-pppoe.so loaded.
Aug 19 11:13:29 192.168.1.1 pppd[12064]: pppd 2.4.4 started by root, uid 0
Aug 19 11:13:30 192.168.1.1 : IPv6 WAN up
Aug 19 11:13:30 192.168.1.1 dnsmasq[2044]: reading /tmp/resolv.conf.auto
Aug 19 11:13:30 192.168.1.1 dnsmasq[2044]: using nameserver 168.95.1.1#53
Aug 19 11:13:30 192.168.1.1 dnsmasq[2044]: using nameserver 4.2.2.1#53
Aug 19 11:13:30 192.168.1.1 dnsmasq[2044]: using local addresses only for domain lan
Aug 19 11:13:32 192.168.1.1 root: udp-broadcast-relay not start: can't find interface ...
Aug 19 11:13:45 192.168.1.1 pppd[12064]: Timeout waiting for PADS packets
Aug 19 11:13:45 192.168.1.1 pppd[12064]: Unable to complete PPPoE Discovery
Aug 19 11:14:17 192.168.1.1 root: [WAN] check default route failed:(0), revert WAN state and ifup wan...
Aug 19 11:14:19 192.168.1.1 : 12064 root         0 Z    [pppd]
Aug 19 11:14:19 192.168.1.1 ifdown: kill all pppd...
Aug 19 11:14:20 192.168.1.1 pppd[13050]: Plugin rp-pppoe.so loaded.
Aug 19 11:14:20 192.168.1.1 pppd[13051]: pppd 2.4.4 started by root, uid 0
Aug 19 11:14:20 192.168.1.1 : IPv6 WAN up
Aug 19 11:14:22 192.168.1.1 dnsmasq[2044]: reading /tmp/resolv.conf.auto
Aug 19 11:14:22 192.168.1.1 dnsmasq[2044]: using nameserver 168.95.1.1#53
Aug 19 11:14:22 192.168.1.1 dnsmasq[2044]: using nameserver 4.2.2.1#53
Aug 19 11:14:22 192.168.1.1 dnsmasq[2044]: using local addresses only for domain lan
Aug 19 11:14:35 192.168.1.1 pppd[13051]: Timeout waiting for PADS packets
Aug 19 11:14:35 192.168.1.1 pppd[13051]: Unable to complete PPPoE Discovery
Aug 19 11:15:10 192.168.1.1 root: [WAN] check default route failed:(0), revert WAN state and ifup wan...
Aug 19 11:15:10 192.168.1.1 pppd[13051]: PPP session is 1159
Aug 19 11:15:10 192.168.1.1 pppd[13051]: hnat_patch_fn /tmp/pppoe.info/eth1.101
Aug 19 11:15:10 192.168.1.1 pppd[13051]: Using interface ppp0
Aug 19 11:15:10 192.168.1.1 pppd[13051]: Connect: ppp0 <--> eth1.101
Aug 19 11:15:10 192.168.1.1 pppd[13051]: Terminating on signal 15
Aug 19 11:15:10 192.168.1.1 kernel: register netdev : ppp0#015
Aug 19 11:15:12 192.168.1.1 : 13051 root         0 Z    [pppd]
Aug 19 11:15:12 192.168.1.1 ifdown: kill all pppd...
Aug 19 11:15:13 192.168.1.1 pppd[14092]: Plugin rp-pppoe.so loaded.
Aug 19 11:15:13 192.168.1.1 pppd[14093]: pppd 2.4.4 started by root, uid 0
Aug 19 11:15:13 192.168.1.1 : IPv6 WAN up
Aug 19 11:15:14 192.168.1.1 dnsmasq[2044]: reading /tmp/resolv.conf.auto
Aug 19 11:15:14 192.168.1.1 dnsmasq[2044]: using nameserver 168.95.1.1#53
Aug 19 11:15:14 192.168.1.1 dnsmasq[2044]: using nameserver 4.2.2.1#53
Aug 19 11:15:14 192.168.1.1 dnsmasq[2044]: using local addresses only for domain lan
Aug 19 11:15:28 192.168.1.1 pppd[14093]: Timeout waiting for PADS packets
Aug 19 11:15:28 192.168.1.1 pppd[14093]: Unable to complete PPPoE Discovery
Aug 19 11:16:03 192.168.1.1 root: [WAN] check default route failed:(0), revert WAN state and ifup wan...
Aug 19 11:16:05 192.168.1.1 : 14093 root         0 Z    [pppd]
Aug 19 11:16:05 192.168.1.1 ifdown: kill all pppd...
Aug 19 11:16:06 192.168.1.1 pppd[15129]: Plugin rp-pppoe.so loaded.
Aug 19 11:16:06 192.168.1.1 pppd[15130]: pppd 2.4.4 started by root, uid 0
Aug 19 11:16:06 192.168.1.1 : IPv6 WAN up
Aug 19 11:16:08 192.168.1.1 dnsmasq[2044]: reading /tmp/resolv.conf.auto
Aug 19 11:16:08 192.168.1.1 dnsmasq[2044]: using nameserver 168.95.1.1#53
Aug 19 11:16:08 192.168.1.1 dnsmasq[2044]: using nameserver 4.2.2.1#53
Aug 19 11:16:08 192.168.1.1 dnsmasq[2044]: using local addresses only for domain lan
Aug 19 11:16:21 192.168.1.1 pppd[15130]: Timeout waiting for PADO packets
Aug 19 11:16:21 192.168.1.1 pppd[15130]: Unable to complete PPPoE Discovery
Aug 19 11:16:56 192.168.1.1 root: [WAN] check default route failed:(0), revert WAN state and ifup wan...
Aug 19 11:16:58 192.168.1.1 : 15130 root         0 Z    [pppd]
Aug 19 11:16:58 192.168.1.1 ifdown: kill all pppd...
Aug 19 11:16:59 192.168.1.1 pppd[16174]: Plugin rp-pppoe.so loaded.
Aug 19 11:16:59 192.168.1.1 pppd[16175]: pppd 2.4.4 started by root, uid 0
Aug 19 11:16:59 192.168.1.1 : IPv6 WAN up
Aug 19 11:16:59 192.168.1.1 pppd[16175]: PPP session is 1166
Aug 19 11:16:59 192.168.1.1 pppd[16175]: hnat_patch_fn /tmp/pppoe.info/eth1.101
Aug 19 11:16:59 192.168.1.1 pppd[16175]: Using interface ppp0
Aug 19 11:16:59 192.168.1.1 pppd[16175]: Connect: ppp0 <--> eth1.101
Aug 19 11:16:59 192.168.1.1 kernel: register netdev : ppp0#015
Aug 19 11:16:59 192.168.1.1 pppd[16175]: CHAP authentication succeeded: CHAP authentication success, unit 12646
Aug 19 11:16:59 192.168.1.1 pppd[16175]: CHAP authentication succeeded
Aug 19 11:16:59 192.168.1.1 pppd[16175]: peer from calling number aa:bb:cc:dd:ee:ff:gg:hh authorized
Aug 19 11:16:59 192.168.1.1 pppd[16175]: local  IP address 1.2.3.4
Aug 19 11:16:59 192.168.1.1 pppd[16175]: remote IP address 217.32.142.3
Aug 19 11:16:59 192.168.1.1 pppd[16175]: primary   DNS address 194.72.9.38
Aug 19 11:16:59 192.168.1.1 pppd[16175]: secondary DNS address 62.6.40.162
Aug 19 11:16:59 192.168.1.1 dnsmasq[2044]: reading /tmp/resolv.conf.auto
Aug 19 11:16:59 192.168.1.1 dnsmasq[2044]: using nameserver 62.6.40.162#53
Aug 19 11:16:59 192.168.1.1 dnsmasq[2044]: using nameserver 194.72.9.38#53
Aug 19 11:16:59 192.168.1.1 dnsmasq[2044]: using local addresses only for domain lan
Aug 19 11:17:01 192.168.1.1 firewall: Restart user's custom iptables rules
Aug 19 11:17:05 192.168.1.1 root: udp-broadcast-relay not start: can't find interface ...
Aug 19 11:17:08 192.168.1.1 kernel: gvid = 2 0x1 gvid 16= 40000
Aug 19 11:17:08 192.168.1.1 kernel: gvid = 2 (gvid&0xFF)  16= 20000
Aug 19 11:17:09 192.168.1.1 syslog: Required parameters missing, make sure that username and password are given
Aug 19 11:17:13 192.168.1.1 miniupnpd: removing firewall rules for ppp0 from zone wan
Aug 19 11:17:13 192.168.1.1 miniupnpd: adding firewall rules for ppp0 to zone wan
Aug 19 11:17:23 192.168.1.1 root: starting ntpclient
Aug 19 11:17:28 192.168.1.1 root: udp-broadcast-relay not start: can't find interface ...
Aug 19 11:19:28 192.168.1.1 pppd[16175]: No response to 5 echo-requests
Aug 19 11:19:28 192.168.1.1 pppd[16175]: Serial link appears to be disconnected.
Aug 19 11:19:28 192.168.1.1 pppd[16175]: Connect time 2.5 minutes.
Aug 19 11:19:28 192.168.1.1 pppd[16175]: Sent 1946 bytes, received 872 bytes.
Aug 19 11:19:28 192.168.1.1 root: revert uci network state in ip-down...
Aug 19 11:19:30 192.168.1.1 syslog: [WAN] WAN detection success...ifup wan
Aug 19 11:19:31 192.168.1.1 pppd[16175]: Connection terminated.
Aug 19 11:19:32 192.168.1.1 : 16175 root      1308 S    /usr/sbin/pppd plugin rp-pppoe.so mtu 1442 mru 1442 n
Aug 19 11:19:32 192.168.1.1 root: stopping ntpclient
Aug 19 11:19:32 192.168.1.1 pppd[16175]: Terminating on signal 15
Aug 19 11:19:32 192.168.1.1 ifdown: kill all pppd...
Aug 19 11:19:33 192.168.1.1 pppd[19613]: Plugin rp-pppoe.so loaded.
Aug 19 11:19:33 192.168.1.1 pppd[19614]: pppd 2.4.4 started by root, uid 0
Aug 19 11:19:33 192.168.1.1 : IPv6 WAN up
Aug 19 11:19:33 192.168.1.1 pppd[19614]: PPP session is 1170
Aug 19 11:19:33 192.168.1.1 pppd[19614]: hnat_patch_fn /tmp/pppoe.info/eth1.101
Aug 19 11:19:33 192.168.1.1 kernel: register netdev : ppp0#015
Aug 19 11:19:33 192.168.1.1 pppd[19614]: Using interface ppp0
Aug 19 11:19:33 192.168.1.1 pppd[19614]: Connect: ppp0 <--> eth1.101
Aug 19 11:19:34 192.168.1.1 pppd[19614]: CHAP authentication succeeded: CHAP authentication success, unit 2731
Aug 19 11:19:34 192.168.1.1 pppd[19614]: CHAP authentication succeeded
Aug 19 11:19:34 192.168.1.1 pppd[19614]: peer from calling number aa:bb:cc:dd:ee:ff:gg:hh authorized
Aug 19 11:19:34 192.168.1.1 pppd[19614]: local  IP address 1.2.3.4
Aug 19 11:19:34 192.168.1.1 pppd[19614]: remote IP address 217.32.142.3
Aug 19 11:19:34 192.168.1.1 pppd[19614]: primary   DNS address 194.72.9.38
Aug 19 11:19:34 192.168.1.1 pppd[19614]: secondary DNS address 62.6.40.162
Aug 19 11:19:34 192.168.1.1 dnsmasq[2044]: reading /tmp/resolv.conf.auto
Aug 19 11:19:34 192.168.1.1 dnsmasq[2044]: using nameserver 62.6.40.162#53
Aug 19 11:19:34 192.168.1.1 dnsmasq[2044]: using nameserver 194.72.9.38#53
Aug 19 11:19:34 192.168.1.1 dnsmasq[2044]: using local addresses only for domain lan
Aug 19 11:19:36 192.168.1.1 firewall: Restart user's custom iptables rules
Aug 19 11:19:37 192.168.1.1 root: udp-broadcast-relay not start: can't find interface ...
Aug 19 11:19:38 192.168.1.1 pppd[16175]: Exit.
Aug 19 11:19:40 192.168.1.1 root: udp-broadcast-relay not start: can't find interface ...
Aug 19 11:19:42 192.168.1.1 kernel: gvid = 2 0x1 gvid 16= 40000
Aug 19 11:19:42 192.168.1.1 kernel: gvid = 2 (gvid&0xFF)  16= 20000
Aug 19 11:19:44 192.168.1.1 syslog: Required parameters missing, make sure that username and password are given
Aug 19 11:19:47 192.168.1.1 miniupnpd: removing firewall rules for ppp0 from zone wan
Aug 19 11:19:48 192.168.1.1 miniupnpd: adding firewall rules for ppp0 to zone wan
Aug 19 11:20:30 192.168.1.1 pppd[19614]: No response to 5 echo-requests
Aug 19 11:20:30 192.168.1.1 pppd[19614]: Serial link appears to be disconnected.
Aug 19 11:20:30 192.168.1.1 pppd[19614]: Connect time 1.0 minutes.
Aug 19 11:20:30 192.168.1.1 pppd[19614]: Sent 14187 bytes, received 31492 bytes.
Aug 19 11:20:31 192.168.1.1 root: [WAN] check default route failed:(0), revert WAN state and ifup wan...
Aug 19 11:20:32 192.168.1.1 pppd[19614]: Terminating on signal 15
Aug 19 11:20:35 192.168.1.1 pppd[21238]: Plugin rp-pppoe.so loaded.
Aug 19 11:20:35 192.168.1.1 pppd[21242]: pppd 2.4.4 started by root, uid 0
Aug 19 11:20:35 192.168.1.1 : IPv6 WAN up
Aug 19 11:20:37 192.168.1.1 dnsmasq[2044]: reading /tmp/resolv.conf.auto
Aug 19 11:20:37 192.168.1.1 dnsmasq[2044]: using nameserver 168.95.1.1#53
Aug 19 11:20:37 192.168.1.1 dnsmasq[2044]: using nameserver 4.2.2.1#53
Aug 19 11:20:37 192.168.1.1 dnsmasq[2044]: using local addresses only for domain lan
Aug 19 11:20:50 192.168.1.1 pppd[21242]: Timeout waiting for PADO packets
Aug 19 11:20:50 192.168.1.1 pppd[21242]: Unable to complete PPPoE Discovery
Aug 19 11:21:20 192.168.1.1 root: [WAN] check default route failed:(0), revert WAN state and ifup wan...
Aug 19 11:21:22 192.168.1.1 : 21242 root         0 Z    [pppd]
Aug 19 11:21:22 192.168.1.1 ifdown: kill all pppd...
Aug 19 11:21:23 192.168.1.1 pppd[22217]: Plugin rp-pppoe.so loaded.
Aug 19 11:21:23 192.168.1.1 pppd[22218]: pppd 2.4.4 started by root, uid 0
Aug 19 11:21:23 192.168.1.1 : IPv6 WAN up
Aug 19 11:21:24 192.168.1.1 dnsmasq[2044]: reading /tmp/resolv.conf.auto
Aug 19 11:21:24 192.168.1.1 dnsmasq[2044]: using nameserver 168.95.1.1#53
Aug 19 11:21:24 192.168.1.1 dnsmasq[2044]: using nameserver 4.2.2.1#53
Aug 19 11:21:24 192.168.1.1 dnsmasq[2044]: using local addresses only for domain lan
Aug 19 11:21:29 192.168.1.1 pppd[22218]: PPP session is 1195
Aug 19 11:21:29 192.168.1.1 pppd[22218]: hnat_patch_fn /tmp/pppoe.info/eth1.101
Aug 19 11:21:29 192.168.1.1 pppd[22218]: Using interface ppp0
Aug 19 11:21:29 192.168.1.1 kernel: register netdev : ppp0#015
Aug 19 11:21:29 192.168.1.1 pppd[22218]: Connect: ppp0 <--> eth1.101
Aug 19 11:21:29 192.168.1.1 pppd[22218]: CHAP authentication succeeded: CHAP authentication success, unit 15087
Aug 19 11:21:29 192.168.1.1 pppd[22218]: CHAP authentication succeeded
Aug 19 11:21:29 192.168.1.1 pppd[22218]: peer from calling number aa:bb:cc:dd:ee:ff:gg:hh authorized
Aug 19 11:21:29 192.168.1.1 pppd[22218]: local  IP address 1.2.3.4
Aug 19 11:21:29 192.168.1.1 pppd[22218]: remote IP address 217.32.142.3
Aug 19 11:21:29 192.168.1.1 dnsmasq[2044]: reading /tmp/resolv.conf.auto
Aug 19 11:21:29 192.168.1.1 dnsmasq[2044]: using nameserver 62.6.40.162#53
Aug 19 11:21:29 192.168.1.1 dnsmasq[2044]: using nameserver 194.72.9.38#53
Aug 19 11:21:29 192.168.1.1 dnsmasq[2044]: using local addresses only for domain lan
Aug 19 11:21:29 192.168.1.1 pppd[22218]: primary   DNS address 194.72.9.38
Aug 19 11:21:29 192.168.1.1 pppd[22218]: secondary DNS address 62.6.40.162
Aug 19 11:21:30 192.168.1.1 firewall: Restart user's custom iptables rules
Aug 19 11:21:34 192.168.1.1 root: udp-broadcast-relay not start: can't find interface ...
Aug 19 11:21:37 192.168.1.1 kernel: gvid = 2 0x1 gvid 16= 40000
Aug 19 11:21:37 192.168.1.1 kernel: gvid = 2 (gvid&0xFF)  16= 20000
Aug 19 11:21:38 192.168.1.1 syslog: Required parameters missing, make sure that username and password are given
Aug 19 11:21:42 192.168.1.1 miniupnpd: removing firewall rules for ppp0 from zone wan
Aug 19 11:21:43 192.168.1.1 miniupnpd: adding firewall rules for ppp0 to zone wan
Aug 19 11:21:47 192.168.1.1 root: udp-broadcast-relay not start: can't find interface ...
Aug 19 11:23:12 192.168.1.1 pppd[22218]: No response to 5 echo-requests
Aug 19 11:23:12 192.168.1.1 pppd[22218]: Serial link appears to be disconnected.
Aug 19 11:23:12 192.168.1.1 pppd[22218]: Connect time 1.8 minutes.
Aug 19 11:23:12 192.168.1.1 pppd[22218]: Sent 3031 bytes, received 3743 bytes.
Aug 19 11:23:13 192.168.1.1 root: revert uci network state in ip-down...
Aug 19 11:23:15 192.168.1.1 root: stopping ntpclient
Aug 19 11:23:20 192.168.1.1 root: udp-broadcast-relay not start: can't find interface ...
Aug 19 11:23:24 192.168.1.1 pppd[22218]: Connection terminated.
Aug 19 11:23:24 192.168.1.1 pppd[22218]: Modem hangup
Aug 19 11:23:31 192.168.1.1 root: [WAN] check default route failed:(0), revert WAN state and ifup wan...
Aug 19 11:23:32 192.168.1.1 : 22218 root      1308 S    /usr/sbin/pppd plugin rp-pppoe.so mtu 1442 mru 1442 n
Aug 19 11:23:32 192.168.1.1 pppd[22218]: Terminating on signal 15
Aug 19 11:23:32 192.168.1.1 pppd[22218]: Exit.
Aug 19 11:23:32 192.168.1.1 ifdown: kill all pppd...
Aug 19 11:23:34 192.168.1.1 pppd[25189]: Plugin rp-pppoe.so loaded.
Aug 19 11:23:34 192.168.1.1 pppd[25190]: pppd 2.4.4 started by root, uid 0
Aug 19 11:23:34 192.168.1.1 : IPv6 WAN up
Aug 19 11:23:34 192.168.1.1 dnsmasq[2044]: reading /tmp/resolv.conf.auto
Aug 19 11:23:34 192.168.1.1 dnsmasq[2044]: using nameserver 168.95.1.1#53
Aug 19 11:23:34 192.168.1.1 dnsmasq[2044]: using nameserver 4.2.2.1#53
Aug 19 11:23:34 192.168.1.1 dnsmasq[2044]: using local addresses only for domain lan
Aug 19 11:23:49 192.168.1.1 pppd[25190]: Timeout waiting for PADS packets
Aug 19 11:23:49 192.168.1.1 pppd[25190]: Unable to complete PPPoE Discovery
Aug 19 11:24:25 192.168.1.1 root: [WAN] check default route failed:(0), revert WAN state and ifup wan...
Aug 19 11:24:26 192.168.1.1 : 25190 root         0 Z    [pppd]
Aug 19 11:24:27 192.168.1.1 ifdown: kill all pppd...
Aug 19 11:24:28 192.168.1.1 pppd[26244]: Plugin rp-pppoe.so loaded.
Aug 19 11:24:28 192.168.1.1 pppd[26245]: pppd 2.4.4 started by root, uid 0
Aug 19 11:24:28 192.168.1.1 : IPv6 WAN up
Aug 19 11:24:29 192.168.1.1 dnsmasq[2044]: reading /tmp/resolv.conf.auto
Aug 19 11:24:29 192.168.1.1 dnsmasq[2044]: using nameserver 168.95.1.1#53
Aug 19 11:24:29 192.168.1.1 dnsmasq[2044]: using nameserver 4.2.2.1#53
Aug 19 11:24:29 192.168.1.1 dnsmasq[2044]: using local addresses only for domain lan
Aug 19 11:24:43 192.168.1.1 pppd[26245]: Timeout waiting for PADO packets
Aug 19 11:24:43 192.168.1.1 pppd[26245]: Unable to complete PPPoE Discovery
Aug 19 11:25:17 192.168.1.1 root: [WAN] check default route failed:(0), revert WAN state and ifup wan...
Aug 19 11:25:19 192.168.1.1 : 26245 root         0 Z    [pppd]
Aug 19 11:25:19 192.168.1.1 ifdown: kill all pppd...
Aug 19 11:25:21 192.168.1.1 pppd[27285]: Plugin rp-pppoe.so loaded.
Aug 19 11:25:21 192.168.1.1 pppd[27286]: pppd 2.4.4 started by root, uid 0
Aug 19 11:25:21 192.168.1.1 : IPv6 WAN up
Aug 19 11:25:21 192.168.1.1 pppd[27286]: PPP session is 1214
Aug 19 11:25:21 192.168.1.1 pppd[27286]: hnat_patch_fn /tmp/pppoe.info/eth1.101
Aug 19 11:25:21 192.168.1.1 pppd[27286]: Using interface ppp0
Aug 19 11:25:21 192.168.1.1 pppd[27286]: Connect: ppp0 <--> eth1.101
Aug 19 11:25:21 192.168.1.1 kernel: register netdev : ppp0#015
Aug 19 11:25:21 192.168.1.1 pppd[27286]: CHAP authentication succeeded: CHAP authentication success, unit 2685
Aug 19 11:25:21 192.168.1.1 pppd[27286]: CHAP authentication succeeded
Aug 19 11:25:21 192.168.1.1 pppd[27286]: peer from calling number aa:bb:cc:dd:ee:ff:gg:hh authorized
Aug 19 11:25:21 192.168.1.1 pppd[27286]: local  IP address 1.2.3.4
Aug 19 11:25:21 192.168.1.1 pppd[27286]: remote IP address 217.32.142.3
Aug 19 11:25:21 192.168.1.1 pppd[27286]: primary   DNS address 194.72.9.38
Aug 19 11:25:21 192.168.1.1 pppd[27286]: secondary DNS address 62.6.40.162
Aug 19 11:25:21 192.168.1.1 dnsmasq[2044]: reading /tmp/resolv.conf.auto
Aug 19 11:25:21 192.168.1.1 dnsmasq[2044]: using nameserver 62.6.40.162#53
Aug 19 11:25:21 192.168.1.1 dnsmasq[2044]: using nameserver 194.72.9.38#53
Aug 19 11:25:21 192.168.1.1 dnsmasq[2044]: using local addresses only for domain lan
Aug 19 11:25:23 192.168.1.1 firewall: Restart user's custom iptables rules
Aug 19 11:25:27 192.168.1.1 root: udp-broadcast-relay not start: can't find interface ...
Aug 19 11:25:30 192.168.1.1 kernel: gvid = 2 0x1 gvid 16= 40000
Aug 19 11:25:30 192.168.1.1 kernel: gvid = 2 (gvid&0xFF)  16= 20000
Aug 19 11:25:31 192.168.1.1 syslog: Required parameters missing, make sure that username and password are given
Aug 19 11:25:34 192.168.1.1 miniupnpd: removing firewall rules for ppp0 from zone wan
Aug 19 11:25:35 192.168.1.1 miniupnpd: adding firewall rules for ppp0 to zone wan
Aug 19 11:25:44 192.168.1.1 root: starting ntpclient
Aug 19 11:25:50 192.168.1.1 root: udp-broadcast-relay not start: can't find interface ...
Aug 19 11:27:25 192.168.1.1 pppd[27286]: No response to 5 echo-requests
Aug 19 11:27:25 192.168.1.1 pppd[27286]: Serial link appears to be disconnected.
Aug 19 11:27:25 192.168.1.1 pppd[27286]: Connect time 2.1 minutes.
Aug 19 11:27:25 192.168.1.1 pppd[27286]: Sent 12694 bytes, received 13432 bytes.
Aug 19 11:27:25 192.168.1.1 pppd[27286]: Connection terminated.
Aug 19 11:27:26 192.168.1.1 root: [WAN] check default route failed:(0), revert WAN state and ifup wan...
Aug 19 11:27:26 192.168.1.1 root: revert uci network state in ip-down...
Aug 19 11:27:28 192.168.1.1 : 27286 root      1308 S    /usr/sbin/pppd plugin rp-pppoe.so mtu 1442 mru 1442 n
Aug 19 11:27:28 192.168.1.1 pppd[27286]: Terminating on signal 15
Aug 19 11:27:28 192.168.1.1 ifdown: kill all pppd...
Aug 19 11:27:30 192.168.1.1 dnsmasq[2044]: no servers found in /tmp/resolv.conf.auto, will retry
Aug 19 11:27:30 192.168.1.1 pppd[30215]: Plugin rp-pppoe.so loaded.
Aug 19 11:27:31 192.168.1.1 pppd[30223]: pppd 2.4.4 started by root, uid 0
Aug 19 11:27:31 192.168.1.1 root: stopping ntpclient
Aug 19 11:27:31 192.168.1.1 : IPv6 WAN up
Aug 19 11:27:31 192.168.1.1 pppd[30223]: PPP session is 186
Aug 19 11:27:31 192.168.1.1 pppd[30223]: hnat_patch_fn /tmp/pppoe.info/eth1.101
Aug 19 11:27:31 192.168.1.1 kernel: register netdev : ppp0#015
Aug 19 11:27:31 192.168.1.1 pppd[30223]: Using interface ppp0
Aug 19 11:27:31 192.168.1.1 pppd[30223]: Connect: ppp0 <--> eth1.101
Aug 19 11:27:31 192.168.1.1 pppd[30223]: CHAP authentication succeeded: CHAP authentication success, unit 14295
Aug 19 11:27:31 192.168.1.1 pppd[30223]: CHAP authentication succeeded
Aug 19 11:27:31 192.168.1.1 pppd[30223]: peer from calling number aa:bb:cc:dd:ee:ff:gg:hh authorized
Aug 19 11:27:31 192.168.1.1 dnsmasq[2044]: reading /tmp/resolv.conf.auto
Aug 19 11:27:31 192.168.1.1 dnsmasq[2044]: using nameserver 62.6.40.162#53
Aug 19 11:27:31 192.168.1.1 dnsmasq[2044]: using nameserver 194.72.9.38#53
Aug 19 11:27:31 192.168.1.1 dnsmasq[2044]: using local addresses only for domain lan
Aug 19 11:27:31 192.168.1.1 pppd[30223]: local  IP address 1.2.3.4
Aug 19 11:27:31 192.168.1.1 pppd[30223]: remote IP address 217.32.142.3
Aug 19 11:27:31 192.168.1.1 pppd[30223]: primary   DNS address 194.72.9.38
Aug 19 11:27:31 192.168.1.1 pppd[30223]: secondary DNS address 62.6.40.162
Aug 19 11:27:33 192.168.1.1 firewall: Restart user's custom iptables rules
Aug 19 11:27:37 192.168.1.1 root: udp-broadcast-relay not start: can't find interface ...
Aug 19 11:27:37 192.168.1.1 pppd[27286]: Exit.
Aug 19 11:27:37 192.168.1.1 root: udp-broadcast-relay not start: can't find interface ...
Aug 19 11:27:40 192.168.1.1 kernel: gvid = 2 0x1 gvid 16= 40000
Aug 19 11:27:40 192.168.1.1 kernel: gvid = 2 (gvid&0xFF)  16= 20000
Aug 19 11:27:42 192.168.1.1 syslog: Required parameters missing, make sure that username and password are given
Aug 19 11:27:45 192.168.1.1 miniupnpd: removing firewall rules for ppp0 from zone wan
Aug 19 11:27:46 192.168.1.1 miniupnpd: adding firewall rules for ppp0 to zone wan
Aug 19 11:28:27 192.168.1.1 pppd[30223]: No response to 5 echo-requests
Aug 19 11:28:27 192.168.1.1 pppd[30223]: Serial link appears to be disconnected.
Aug 19 11:28:27 192.168.1.1 pppd[30223]: Connect time 1.0 minutes.
Aug 19 11:28:27 192.168.1.1 pppd[30223]: Sent 716 bytes, received 7857 bytes.
Aug 19 11:28:33 192.168.1.1 pppd[30223]: Connection terminated.
Aug 19 11:28:33 192.168.1.1 pppd[30223]: Modem hangup
Aug 19 11:28:53 192.168.1.1 root: [WAN] check default route failed:(0), revert WAN state and ifup wan...
Aug 19 11:28:55 192.168.1.1 : 30223 root      1308 S    /usr/sbin/pppd plugin rp-pppoe.so mtu 1442 mru 1442 n
Aug 19 11:28:55 192.168.1.1 pppd[30223]: Terminating on signal 15
Aug 19 11:28:55 192.168.1.1 ifdown: kill all pppd...
Aug 19 11:28:56 192.168.1.1 pppd[32274]: Plugin rp-pppoe.so loaded.
Aug 19 11:28:56 192.168.1.1 pppd[32275]: pppd 2.4.4 started by root, uid 0
Aug 19 11:28:56 192.168.1.1 : IPv6 WAN up
Aug 19 11:28:57 192.168.1.1 dnsmasq[2044]: reading /tmp/resolv.conf.auto
Aug 19 11:28:57 192.168.1.1 dnsmasq[2044]: using nameserver 168.95.1.1#53
Aug 19 11:28:57 192.168.1.1 dnsmasq[2044]: using nameserver 4.2.2.1#53
Aug 19 11:28:57 192.168.1.1 dnsmasq[2044]: using local addresses only for domain lan
Aug 19 11:29:00 192.168.1.1 pppd[30223]: Exit.
Aug 19 11:29:08 192.168.1.1 syslog: [WAN] WAN detection success...ifup wan
Aug 19 11:29:08 192.168.1.1 root: ifup is running.......skip ifup wan
Aug 19 11:29:11 192.168.1.1 pppd[32275]: Timeout waiting for PADO packets
Aug 19 11:29:11 192.168.1.1 pppd[32275]: Unable to complete PPPoE Discovery
Aug 19 11:29:40 192.168.1.1 root: [WAN] check default route failed:(0), revert WAN state and ifup wan...
Aug 19 11:29:43 192.168.1.1 : 32275 root         0 Z    [pppd]
Aug 19 11:29:43 192.168.1.1 ifdown: kill all pppd...
Aug 19 11:29:44 192.168.1.1 pppd[772]: Plugin rp-pppoe.so loaded.
Aug 19 11:29:44 192.168.1.1 pppd[773]: pppd 2.4.4 started by root, uid 0
Aug 19 11:29:44 192.168.1.1 : IPv6 WAN up
Aug 19 11:29:44 192.168.1.1 pppd[773]: PPP session is 596
Aug 19 11:29:44 192.168.1.1 pppd[773]: hnat_patch_fn /tmp/pppoe.info/eth1.101
Aug 19 11:29:44 192.168.1.1 pppd[773]: Using interface ppp0
Aug 19 11:29:44 192.168.1.1 kernel: register netdev : ppp0#015
Aug 19 11:29:44 192.168.1.1 pppd[773]: Connect: ppp0 <--> eth1.101
Aug 19 11:29:44 192.168.1.1 pppd[773]: CHAP authentication succeeded: CHAP authentication success, unit 7675
Aug 19 11:29:44 192.168.1.1 pppd[773]: CHAP authentication succeeded
Aug 19 11:29:44 192.168.1.1 pppd[773]: peer from calling number aa:bb:cc:dd:ee:ff:gg:hh authorized
Aug 19 11:29:44 192.168.1.1 pppd[773]: local  IP address 1.2.3.4
Aug 19 11:29:44 192.168.1.1 pppd[773]: remote IP address 217.32.142.3
Aug 19 11:29:44 192.168.1.1 pppd[773]: primary   DNS address 194.72.9.38
Aug 19 11:29:44 192.168.1.1 pppd[773]: secondary DNS address 62.6.40.162
Aug 19 11:29:44 192.168.1.1 dnsmasq[2044]: reading /tmp/resolv.conf.auto
Aug 19 11:29:44 192.168.1.1 dnsmasq[2044]: using nameserver 62.6.40.162#53
Aug 19 11:29:44 192.168.1.1 dnsmasq[2044]: using nameserver 194.72.9.38#53
Aug 19 11:29:44 192.168.1.1 dnsmasq[2044]: using local addresses only for domain lan
Aug 19 11:29:46 192.168.1.1 firewall: Restart user's custom iptables rules
Aug 19 11:29:50 192.168.1.1 root: udp-broadcast-relay not start: can't find interface ...
Aug 19 11:29:53 192.168.1.1 kernel: gvid = 2 0x1 gvid 16= 40000
Aug 19 11:29:53 192.168.1.1 kernel: gvid = 2 (gvid&0xFF)  16= 20000
Aug 19 11:29:54 192.168.1.1 syslog: Required parameters missing, make sure that username and password are given
Aug 19 11:29:58 192.168.1.1 miniupnpd: removing firewall rules for ppp0 from zone wan
Aug 19 11:29:59 192.168.1.1 miniupnpd: adding firewall rules for ppp0 to zone wan


I knew from my rudimentary understanding of ADSL profiling, that if I left the connection 24h/10d, then my profile should improve.  Sure enough after 7 days, there was one final disconnection and I was re-profiled back to 37.5Mb. From the Stats chart below, it is clear there were 10M of FEC errors (Thanks Father Hackett) - I saw these coming in quickly during the period of instability, but they are in the past. My prime suspects for the instability:

  1. WAN connection detection (see below).
  2. Engineering work at the cabinet or on the copper.
  3. Router firmware is iffy (it was only released on 8-Aug-2011).

System Uptime: 9d 04:38:12

Up time: 1d 08:18:00


VDSL Status

VDSL
Link Status
Firmware Version 1411f0
VDSL2 Profile 8c
Basic StatusUpstreamDownstreamUnit
Actual Data Rate 9998 34987 Kb/s
SNR 137 79 0.1dB
Advance Status UpstreamDownstreamUnit
Actual delay 0 0 ms
Actual INP 0 0 0.1 symbols
15M CV 0 1 counter
1Day CV 21 278 counter
15M FEC 016 counter
1Day FEC 0 2708 counter
Total FEC 0 10020411 counter
Previous Data Rate 9998 31823 Kbps
Attainable Rate 14650 37510 Kbps
Electrical Length 40 40 0.1 dB
SNR Margin 136 N/A (US0,--) 0.1 dB
SNR Margin 137 79 (US1,DS1) 0.1 dB
SNR Margin N/A 78 (US2,DS2) 0.1 dB
SNR Margin N/A N/A (US3,DS3) 0.1 dB
SNR Margin N/A N/A (US4,DS4) 0.1 dB
15M Elapsed time 247 247 secs
15M FECS 0 4 counter
15M ES 0 1 counter
15M SES 0 0 counter
15M LOSS 0 0 counter
15M UAS 0 0 counter
1Day Elapsed time 29947 29947 secs
1Day FECS 0 317 counter
1Day ES 18 245 counter
1Day SES 0 0 counter
1Day LOSS 0 0 counter
1Day UAS 0 0 counter
Total FECS 0 38261 counter
Total ES 31696 833 counter
Total SES 968 18 counter
Total LOSS 0 20 counter
Total UAS 79750 84 counter

Where local IP address has been changed to 1.2.3.4 and Calling number modified to aa:bb:cc:dd:ee:ff:gg:hh

I disabled temporarily(or maybe not?) the WAN->Internet Access->WAN Connection Detection->Disabled.

Tuesday, 9 August 2011

Draytek 2750n and BT Infinity

We've been worrying about the Huawei Openreach Infinity modems because of the tales of woe in the BT Community forums. They overheat and can only be replaced by BT Openreach Engineers. This means you have to wait for an Engineer to turn up to replace the modem. A 2 minute job. As an insurance policy, we decided to get a Draytek Vigor 2750n. I cannot fault it. There are excellent setup instructions here:

http://www.draytek.co.uk/support/kb/kb_vigor_v2750_setup.html

WAN->Multi-VLAN->WLAN VLAN ID = 101

All you need to know on top of this is that the BT Infinity Username password combination is:

PPPoE
Username: bthomehub@btinternet.com
Password: One blank space

It doesn't work with nothing there and it didn't work with BT. I had to use one blank space. It then connected first time.

Gallery of the install photos found below. The Openreach modem has been left on the wall for failover purposes. It is not powered up.



More photos here.

VDSL Stats

VDSL
Link Status
Firmware Version 131000
VDSL2 Profile 8c
Basic StatusUpstreamDownstreamUnit
Actual Data Rate 9998 36813 Kb/s
SNR 99 62 0.1dB
Advance Status UpstreamDownstreamUnit
Actual delay 0 0 ms
Actual INP 0 0 0.1 symbols
15M CV 0 2 counter
1Day CV 12621 19 counter
15M FEC <="" td="">05 counter
1Day FEC 0 46 counter
Total FEC 0 46 counter
Previous Data Rate 0 0 Kbps
Attainable Rate 12677 36813 Kbps
Electrical Length 49 49 0.1 dB
SNR Margin 99 N/A (US0,--) 0.1 dB
SNR Margin 99 62 (US1,DS1) 0.1 dB
SNR Margin N/A 62 (US2,DS2) 0.1 dB
SNR Margin N/A N/A (US3,DS3) 0.1 dB
SNR Margin N/A N/A (US4,DS4) 0.1 dB
15M Elapsed time 219 219 secs
15M FECS 0 1 counter
15M ES 0 1 counter
15M SES 0 0 counter
15M LOSS 0 0 counter
15M UAS 0 0 counter
1Day Elapsed time 3819 3819 secs
1Day FECS 0 12 counter
1Day ES 10601 16 counter
1Day SES 52 0 counter
1Day LOSS 0 0 counter
1Day UAS 78029 30 counter
Total FECS 0 12 counter
Total ES 10601 16 counter
Total SES 52 0 counter
Total LOSS 0 0 counter
Total UAS 78029 30 counter