[uClinux-dev] Clock adjustment in kernel

2008-12-16 Thread Joakim Wennergren
I have this piece of hardware that doesn't have a battery clock so it's reset every reboot. Now I've added a ntp update to it and noticed that the clock drags domething horribly, it's like 12% slower than it should... Is there any place I can set the clock speed of the processor so I can adjust th

[uClinux-dev] DHCP autorefresh in router

2008-08-01 Thread Joakim Wennergren
I have a rather strange problem. I have a router running uClinux, but when the WAN cable is disconnected and reconnected I can't get it to get a new IP! The interface is still up, I can send pings (that doesn't answer). On my desktop linux box it immediatly removes the IP from the interface w

[uClinux-dev] Script scope - where do I start them?

2008-04-15 Thread Joakim Wennergren
I have a problem with some scripts I'd like running in the background. The problem is when I start them from the rc script, they often don't do what they're supposed to (in this case, create a ppp connection by calling a modem). If I start them in the "profile" script (or directly from the pro

[uClinux-dev] dosbox malfunctions

2008-03-05 Thread Joakim Wennergren
I have a strange problem on my hardware router. When a modem is connected some shell functions stop working, for example "read" and "pwd". I'm using busybox 1.1 with the ash shell. It seems to be related to my shell scripts, basically I have several scripts that start each other (with the "&"

[uClinux-dev] Compile madwifi tools with uClibc under Snapgear (3.5.0)]

2008-01-31 Thread Joakim Wennergren
Hello, I've managed to compile & run madwifi 0.9.4 on a home router, however the tools in the "tools" directory does not work. They became linked against glibc while I only use uClibc. I haven't managed to make them link against the correct c lib, does anyone have any tips? The reason I need th

Re: [uClinux-dev] Odd RedBoot installation found - tips needed

2008-01-28 Thread Joakim Wennergren
Greg Ungerer wrote: Hi Joakim, Joakim Wennergren wrote: This is mainly a RedBoot question, but I can't think of any better list to post it. I've stated to dismantle a new hardware I've got (a small firewall/router), and managed to attach a serial cable to it. When it

[uClinux-dev] Odd RedBoot installation found - tips needed

2008-01-28 Thread Joakim Wennergren
I could maybe figure out the JTAG pins on the hardware, but I don't have any JTAG burning stuff, I'd have to borrow some. And considering how non-standard the serial port was the pins are probably all jumbled... I'd rather not go that way. regards Joakim Wennergren This emai

[uClinux-dev] dnsmasq doesn't reply to DHCP requests

2008-01-11 Thread Joakim Wennergren
I've recently upgraded our Snapgear version to 3.4.0 (linux 2.6.19) but now I have a problem with DHCP. Neither dnsmasq or dhcpd (ISC) responds to incoming DHCP requests! When I do a tcpdump I can see the incoming packets, but no responding ones. I've checked the iptables rules, but they are

Re: [uClinux-dev] ixp400_eth: ixEthMiiLinkStatus failed

2007-12-20 Thread Joakim Wennergren
queue 2 for WME_AC_VI traffic wifi0: Use hw queue 3 for WME_AC_VO traffic wifi0: Use hw queue 8 for CAB traffic wifi0: Use hw queue 9 for beacons wifi0: Atheros 5212: mem=0x4a00, irq=24 Oh, and thanks for all the help so far best regards Jocke Doug Kehn wrote: Hi Joakim, --- Joakim

Re: [uClinux-dev] ixp400_eth: ixEthMiiLinkStatus failed

2007-12-20 Thread Joakim Wennergren
0ff IO window: 1400-14ff PREFETCH window: 4800-49ff MEM window: 4a00-4bff pci :00:0d.0: Error creating sysfs bridge symlink, continuing... Generic PHY: Registered new driver /jocke Doug Kehn wrote: Hi Joakim, --- Joakim Wennergren wrote: Doug Kehn wrote: H

Re: [uClinux-dev] ixp400_eth: ixEthMiiLinkStatus failed

2007-12-19 Thread Joakim Wennergren
Doug Kehn wrote: Hi Joakim, --- Joakim Wennergren wrote: I'm getting an error when trying to ifconfig up interface eth0: xp400_eth: ixEthMiiLinkStatus failed on PHY0. Can't determine the auto negotiated parameters. Using default values. I'm using snap

[uClinux-dev] ixp400_eth: ixEthMiiLinkStatus failed

2007-12-18 Thread Joakim Wennergren
I'm getting an error when trying to ifconfig up interface eth0: xp400_eth: ixEthMiiLinkStatus failed on PHY0. Can't determine the auto negotiated parameters. Using default values. I'm using snapgear 3.5.0 with ixp400 Access library 2.1, with the patches from snapgear applied.

Re: AW: [uClinux-dev] OpenSSL problems with snapgear 3.5.0

2007-12-17 Thread Joakim Wennergren
efile" that sets 'no-md4' (it was inside an if-statement for some reason). Odd setup with a bunch of makefiles, some generated, some with small letters... -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Joakim Wennergren Gesendet:

[uClinux-dev] OpenSSL problems with snapgear 3.5.0

2007-12-17 Thread Joakim Wennergren
t refused to compile because of a series of "undefined reference to `BIO_set_callback'" in the openSSL apps directory (e.g. enc.c, s_server.c). In 0.9.8e I had to do a "./Configure linux-elf" since it refused to compile otherwise ("Makefile older than Makefile.org&q

[uClinux-dev] Directory lib/libssl does not exist!?

2007-11-21 Thread Joakim Wennergren
This is maybe a stupid question, but in my snapgear (3.5.0) directory I don't have a 'lib/libssl' directory... How do I get it? I've configured libssl to compile (through 'make menuconfig'), checked that the CONFIG_LIB_LIBSSL_FORCE is set, but that doesn't create the directory or the files... D