Author Topic: linux on gadgetpc  (Read 22759 times)

vitaliy

  • Full Member
  • ***
  • Posts: 30
    • View Profile
Re: linux on gadgetpc
« Reply #15 on: January 08, 2010, 04:08:37 am »
did you re-check SSID ?

franklin97355

  • Guest
Re: linux on gadgetpc
« Reply #16 on: January 08, 2010, 07:00:30 pm »
Yes, franklin on both devices. Does the GadgetPC do DHCP?

vitaliy

  • Full Member
  • ***
  • Posts: 30
    • View Profile
Re: linux on gadgetpc
« Reply #17 on: January 09, 2010, 03:48:21 am »
yes, it can do DHCP.
But in case of WiFi connection the current Shell files do not try to use DHCP. So it can\'t be a problem.
Note, we provide a complete set of wireless executables
under /mnt/usb/wireless/sbin folder
So you can play with different SSID, keys, etc.
/mnt/usb/wireless/sbin/iwconfig rausb0 key KEY
      /mnt/usb/wireless/sbin/iwpriv rausb0 set SSID= SSID

Also, you can use iwlist to  look at the existing network
In my opinion, the hardware layer worked.
I mean WiFi adapters. Also, IPs are correct.
You have problems only with authorization to your Access Point (AP).

Also, did you try to connect to AP ( your router) from a PC with the same key, ssid, wep ?

franklin97355

  • Guest
Re: linux on gadgetpc
« Reply #18 on: January 10, 2010, 01:28:32 pm »
I\'ll take a look at the other files you referenced but I did test it with another of my computers that connects to the AP wirelessly and your settings work just fine. (WEP and key)

franklin97355

  • Guest
Re: linux on gadgetpc
« Reply #19 on: January 26, 2010, 08:41:19 pm »
Key looks OK and SSID set to franklin.
ESSID is "" is this correct?
It says it sees a wireless signal at -41db and displays it\'s mac address but still no communications in either direction.
What next?

vitaliy

  • Full Member
  • ***
  • Posts: 30
    • View Profile
Re: linux on gadgetpc
« Reply #20 on: January 27, 2010, 12:39:35 pm »
>ESSID is ""
it has to be franklin on both GPC and router

franklin97355

  • Guest
Re: linux on gadgetpc
« Reply #21 on: January 27, 2010, 04:36:28 pm »
OK I\'ve tried setting the SSID from
./iwpriv rausb0 set SSID= franklin
but this is what I get in return
Code: [Select]
[root@GadgetPC sbin]$./iwconfig rausb0[J
<14:28:09> rausb0    RT73 WLAN  ESSID:off/any  Nickname:""
<14:28:09>           Mode:Auto  Frequency=2.412 GHz  Bit Rate:54 Mb/s
<14:28:09>           RTS thr:off   Fragment thr:off
<14:28:09>           Encryption key:1237-4895-67   Security mode:open
<14:28:09>           Link Quality=0/100  Signal level:-121 dBm  Noise level:-115 dBm
<14:28:09>           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
<14:28:09>           Tx excessive retries:0  Invalid misc:0   Missed beacon:0
<14:28:09> [root@GadgetPC sbin]$

vitaliy

  • Full Member
  • ***
  • Posts: 30
    • View Profile
Re: linux on gadgetpc
« Reply #22 on: January 28, 2010, 03:20:35 am »
the correct syntax is

cd /mnt/usb/wireless/sbin
./ifconfig rausb0 192.168.1.15 netmask 255.255.255.0 up
route add default gw 192.168.1.1 rausb0
./iwpriv rausb0 set SSID="franklin"
./iwconfig rausb0 key 1237489567


franklin97355

  • Guest
Re: linux on gadgetpc
« Reply #23 on: January 28, 2010, 10:08:50 am »
I\'ll try that tonight, thanks.
<edit> This is what I got...caps removed due to forum guidelines
Code: [Select]
[root@gadgetpc sbin]$ifconfig
lo        link encap:local loopback 
          inet addr:127.0.0.1  mask:255.0.0.0
          up loopback running  mtu:16436  metric:1
          rx packets:17 errors:0 dropped:0 overruns:0 frame:0
          tx packets:17 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          rx bytes:1904 (1.8 kib)  tx bytes:1904 (1.8 kib)

rausb0    link encap:ethernet  hwaddr 00:24:01:9e:99:9c 
          inet addr:192.168.1.190  bcast:192.168.1.255  mask:255.255.255.0
          up broadcast running multicast  mtu:1500  metric:1
          rx packets:2364 errors:0 dropped:0 overruns:0 frame:0
          tx packets:2661 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          rx bytes:204989 (200.1 kib)  tx bytes:196966 (192.3 kib)

[root@gadgetpc sbin]$./iwpriv rausb0 set ssid="franklin"
[root@gadgetpc sbin]$./iwconfig
lo        no wireless extensions.

rausb0    rt73 wlan  essid:off/any  nickname:""
          mode:auto  frequency=2.412 ghz  bit rate:54 mb/s   
          rts thr:off   fragment thr:off
          encryption key:1237-4895-67   security mode:open
          link quality=0/100  signal level:-121 dbm  noise level:-115 dbm
          rx invalid nwid:0  rx invalid crypt:0  rx invalid frag:0
          tx excessive retries:0  invalid misc:0   missed beacon:0
« Last Edit: January 28, 2010, 09:44:57 pm by franklin97355 »

vitaliy

  • Full Member
  • ***
  • Posts: 30
    • View Profile
Re: linux on gadgetpc
« Reply #24 on: January 29, 2010, 12:47:14 am »
NOT ./iwconfig
BUT ./iwconfig rausb0 key 1237489567

franklin97355

  • Guest
Re: linux on gadgetpc
« Reply #25 on: January 29, 2010, 10:12:57 am »
I understand that. The ./iwconfig was to print out the data for you to see. If you look the key is set correctly as shown in the results returned from the ./iwconfig
Code: [Select]
encryption key:1237-4895-67 Thanks for working on this with me.

franklin97355

  • Guest
Re: linux on gadgetpc
« Reply #26 on: February 03, 2010, 06:24:15 pm »
I tried ./iwconfig rausb0 Nickname "franklin" and it assigned a nickname but it won\'t stick on restart and it still will not ping either the router or other computers on the network.

franklin97355

  • Guest
Re: linux on gadgetpc
« Reply #27 on: February 07, 2010, 04:36:10 pm »
According to your email I have started to install Debian on the flash drive. I\'m using Debian to do this and have gotten to page 8. I have the file debian_lenny_armel_small.qcow2 but can\'t extract it.
It appears the debian also does not have mkfs.msdos but I got around that by mounting the flash on a windows box and formatting it there.
What is it I need to do now?
I have a 247M FAT partition on /dev/sdb1 and a 3.3G EXT3 partition on /dev/sdb2.
Thanks for the help.

vitaliy

  • Full Member
  • ***
  • Posts: 30
    • View Profile
Re: linux on gadgetpc
« Reply #28 on: February 08, 2010, 07:18:14 am »
Note, the instruction describes all steps how to start from scratch. It is for advanced users who wants to generate
everything from ZERO point.

I guess you have to use the existing packages from bipomftp.

http://www.bipom.com/cgi-bin/yabb2/YaBB.pl?num=1263702424/1#1

1)
Download 2 packages ( Linux kernel and Debian RootFs)
to /home/mini/fs/debian folder
Linux kernel: linux2.6.30.4_06Feb2010.tar.bz2
RootFS (Debian Lenny): debian_rootfs_06Feb2010.tar.bz2

change to that folder
cd  /home/mini/fs/debian

2) Insert  the Flash USB drive to a PC
Let\'s say you have Linux partitions called EXT3
and MSDOS partition called FAT. I mean labels
It has to mount your 2 partitions to
/dev/sdb1 -> /media/FAT
/dev/sdb2 -> /media/EXT3

3)
sudo tar [ch8211]xvjf  debian_rootfs_06Feb2010.tar.bz2

Password is max

It will create EXT3 folder under /home/mini/fs/debian

 4)
Copy all files from EXT3 folder to your Linux partition

sudo cp -R EXT3/* /media/EXT3

5)
sudo tar [ch8211]xvjf  linux2.6.30.4_06Feb2010.tar.bz2
It will create FAT folder under /home/mini/fs/debian

 6)
Copy all files from FAT folder to your  MSDOS partition

sudo cp -R FAT/* /media/FAT

Note, all the steps are described in details on the last page
of the installation guide.


7) Edit /media/EXT3/etc/network/interfaces file to match your needs

8) Unmount Flash drive, connect to Gadget PC.

 Don\'t forget to adapt U-Boot
Code: [Select]
setenv bootargs mem=32M console=ttyS1,115200 root=/dev/sda2 rw rootwait
setenv bootcmd \'usb start; fatload usb 0:1 0x21000000 uimage; bootm 0x21000000\'
saveenv



« Last Edit: February 08, 2010, 07:20:05 am by vitaliy »

franklin97355

  • Guest
Re: linux on gadgetpc
« Reply #29 on: February 08, 2010, 11:23:07 am »
Thanks, I\'ll try this tonight.