Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - colin

Pages: [1]
1
Angstrom & OpenZaurus / Bridge Usb0 And Wlan0
« on: July 11, 2007, 05:22:08 pm »
Thanks for the help guys.

I hunted around a bit more. It turns out that ndiswrapper does not support PROMISC, which is required for bridging. I have to use ndiswrapper, as the broadcom support is not quite there yet for bcm43xx.

I will use masquerading for now until the bcm43xx has better support for poor signal strength.

Cheers,

Colin

2
Angstrom & OpenZaurus / Bridge Usb0 And Wlan0
« on: May 26, 2007, 06:16:03 pm »
Hi,

Thanks for your help guys.

Samac, this is the way I did it in the past. Only, I forgot how to put the gateway on the zaurus. I had put the router address in and I should have put the PC address. This is why I started looking around and saw the bridging solution that seemed simple. Now I have the gateway entry correct in the Zaurus, I can ping router to Zaurus and Zaurus to router. The problem is I can not ping past the router or get web access to the router maintinace page. This, I think, is a router issue.

speculatrix, I have tried the masquerading/natting, but I am missing something from my PC kernal as iptables is complaining that somethng is missing. I started to try to use natting when I read that wlan hardware could not spoof and so bridging would not work.

 Anyway you have both helped move me on a bit so thanks. I wil try not using the masquerading for the moment. Masquerading will be my next step if I get stuck. At least I have managed to find why the iptables was hidden when I was configuring the kernal. I needed the x_tables first.

Cheers,

Colin

3
Angstrom & OpenZaurus / Bridge Usb0 And Wlan0
« on: May 24, 2007, 06:29:06 pm »
Hi,

I am sure the answer is in the forum somewhere, but I can not find it and I am stuck.

I have C1000 and have installed 3.5.4.1. I am trying to connect to the internet via my laptop using a bridge on the laptop between usb0 and wlan0. The wlan0 connects to my ADSL router.

I think I have followed the procedures on the OZ web site and in the pinned connection topic in this forum.

I have got it to the stage where the C1000 talks to the laptop and the laptop will talk to the world, but the bridge does not seem to forward between usb0 and wlan0 (no ping from the C1000 to anything other than the laptop.)

I am now stuck. The laptop is running slackware, and I will try on the slackware forum if that is the right place to ask.

Hope someone can help.

I have appended the output of some commands below.

Cheers,

Colin

So here what is set up laptop
+++++++++++++++++

// PROMISC is set and there is no IP address on wlan0 and usb0. The br0 bridge has an
// address assigned by dhcpcd

root@slain:/home/colin/Desktop/Zaurus# ifconfig
br0       Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:192.168.123.148  Bcast:192.168.123.255  Mask:255.255.255.0
          inet6 addr: xxxx::xxx:xxxx:xxxx:xxxx/xx Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10477 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6261 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5101013 (4.8 MiB)  TX bytes:707382 (690.8 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:76 errors:0 dropped:0 overruns:0 frame:0
          TX packets:76 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6500 (6.3 KiB)  TX bytes:6500 (6.3 KiB)

usb0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet6 addr: xxxx::xxx:xxxx:xxxx:xxxx/xx Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:5544 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3139 errors:24 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:432766 (422.6 KiB)  TX bytes:213405 (208.4 KiB)

wlan0     Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet6 addr: xxxx::xxx:xxxx:xxxx:xxxx/xx Scope:Link
          UP BROADCAST NOTRAILERS RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:4945 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11351 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4738990 (4.5 MiB)  TX bytes:1067462 (1.0 MiB)
          Interrupt:20 Memory:c0200000-c0202000

// Laptop routing seems correct

root@slain:/home/colin/Desktop/Zaurus# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.123.0   *               255.255.255.0   U     0      0        0 br0
loopback        *               255.0.0.0       U     0      0        0 lo
default         router          0.0.0.0         UG    0      0        0 br0

// bridge claims to be forwarding in dmesg output
br0: port 2(usb0) entering learning state
br0: port 1(wlan0) entering learning state
br0: no IPv6 routers present
br0: topology change detected, propagating
br0: port 2(usb0) entering forwarding state
br0: topology change detected, propagating
br0: port 1(wlan0) entering forwarding state

// no net filtering in for the bridge
root@slain:/home/colin/Desktop/Zaurus# cat /proc/sys/net/bridge/*
0
0
0
0


on the C1000, 192.168.123.55, I have
+++++++++++++++++++++++


// It knows the route to the gateway, the router at  IP address 192.168.123.254.
root@slain:/home/colin/Desktop/Zaurus# ssh 192.168.123.55
root@192.168.123.55's password:
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.123.0   *               255.255.255.0   U     0      0        0 usb0
default         192.168.123.254 0.0.0.0         UG    0      0        0 usb0
#

irda0     Link encap:UNSPEC  HWaddr xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx
          NOARP  MTU:2048  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:8
          RX bytes:0 (0.0   TX bytes:0 (0.0

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:5999 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5999 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:664986 (649.4 KiB)  TX bytes:664986 (649.4 KiB)

sit0      Link encap:UNSPEC  HWaddr xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0   TX bytes:0 (0.0

usb0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:192.168.123.55  Bcast:192.168.123.255  Mask:255.255.255.0
          inet6 xxxx: xxxx::xxxx:xxxx:xxxx:xxxx/xx Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3759 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6580 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:198769 (194.1 KiB)  TX bytes:597037 (583.0 KiB)

//192.168.123.254 is the router and 192.168.123.148 is the latop
//traceroute shows the router is unreachable,

# traceroute 192.168.123.254
traceroute to 192.168.123.254 (192.168.123.254), 30 hops max, 40 byte packets
 1  192.168.123.55 (192.168.123.55)  3026.23 ms !H  3031.38 ms !H  3039.61 ms !H
# traceroute 192.168.123.148
traceroute to 192.168.123.148 (192.168.123.148), 30 hops max, 40 byte packets
 1  192.168.123.148 (192.168.123.148)  2.819 ms  4.624 ms  2.816 ms
#

4
Hi,

OK reply to myself. Looks like it was one or more of
   mismatching bitbake to org.openembedded.xxx
   an error in my local.conf, (BBFILES with double quotes ")
   copying the hole of the conf directory from the org.openembedded.xxx directory and not just the conf/local.conf

Any way started from scratch and it all worked this time.

Cheers,

Colin

5
Hi,

I am trying to set up bitbake to do some oz developement. I think I have followed the instructions on the OpenEmbedded "Getting Started" Wiki. When I try "bitbake nano" all I get is lots of complaints about:

quote
NOTE: exceptions.SyntaxError:EOL while scanning single-quoted string (line 1) while evaluating:
unquote

(there is more of the output at the end of the post if it helps.)

I have tried org.openembedded.dev and org.openembedded.oz354fam083.
I have tried bitbake  -rHead, -r394 and the bitbake tarball at  ewi546.ewi.utwente.nl. Using earlier versins of bitbake just gives me complaints about sanity.conf file.

I have hunted around and seen others struggle with this, not found a solution that works. Any help appreciated.

Cheers,

Colin


colin@dredd:~/zaurus/openembedded/build$ bitbake nano
NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance.
NOTE: Using cache in '/home/colin/zaurus/openembedded/build/tmp/cache'
NOTE: Handling BitBake files: / (0002/2903) [ 0 %]NOTE: exceptions.SyntaxError:EOL while scanning single-quoted string (line 1) while evaluating:
${@base_set_filespath([ "/home/colin/zaurus/openembedded/org.openembedded.oz354fam083/packages/bl/bl-0.0cvs${CVSDATE}-r0", "/home/colin/zaurus/openembedded/org.openembedded.oz354fam083/packages/bl/bl-0.0cvs${CVSDATE}", "/home/colin/zaurus/openembedded/org.openembedded.oz354fam083/packages/bl/bl", "/home/colin/zaurus/openembedded/org.openembedded.oz354fam083/packages/bl/files", "/home/colin/zaurus/openembedded/org.openembedded.oz354fam083/packages/bl" ], d)}
NOTE: exceptions.SyntaxError:EOL while scanning single-quoted string (line 1) while evaluating:
${@bb.which(bb.data.getVar('FILESPATH', d, 1), '.')}
NOTE: exceptions.SyntaxError:EOL while scanning single-quoted string (line 1) while evaluating:
${FILESDIR}/manifest
.
.
.

6
Angstrom & OpenZaurus / collie and kernel from 3.5.3 upgrades
« on: July 06, 2005, 09:19:53 am »
Hi,

I have a 5500 that is not working with the new kernel.

I did a compare between the working and not working kernels. I did an lsmod after booting using calender-C to get me through the new kernel boot. What I found was that there was no usbcore, net_fd and sa1100_bi, also  ipv6 and ipsec show up as initialising on the new kernel. As the working kernel show net_fd and sa1100_bi as using usbdcore I assume that the loading of usbdcore is a candidate for the problems we are seeing. I am guessing that the boot hang after 2 lines is because of the inability to load usbcore or the calender-C is preventing the usbcore module load.

Does this get us any further?

I also did a compare of dmesg outputs, but the amount of information means the stuff from the start of the boot on the new kernel is missing. The dmesg buffer gets filled with a load of exception/crash information. Is there a way to extend the dmesg buffer?

Cheers,

Colin

7
Angstrom & OpenZaurus / Battery Issues On Sl5500
« on: June 13, 2005, 08:19:48 am »
There is a fixed rechargable NiCd battery inside the Z. If the NiCd gets flattened it will be charged from the Li removable battery and flatten the Li one.  Maybe this is your problem. The manual says to leave the Z on charge for 24hours when first used, this is to ensure the internal NiCd is charged.

Just an idea.

Cheers,

Colin

Pages: [1]