• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: 1 2 3 [4]
46  Hardware and U-Boot firmware / Hardware / Re: external wireless antenna? on: December 05, 2010, 08:13:49 PM
I agree it's u.fl but the cable from my dead wet54g doesn't connect with the guruplug
pcb connector.  Similar appearance but not exactly the same.

I'm not sure my soldering iron is fine enough to connect wires to the pcb pads.

I have been using my plug as a wep client and I get the occasional hangs reported
by others on the forum.  The current location is a bedroom above the AP.

Code:
guruplug:~# iwconfig wlan0
wlan0     IEEE 802.11b/g  ESSID:"home"  Nickname:"plug"
          Mode:Managed  Frequency:2.437 GHz  Access Point: XX-XX-XX-XX-XX-XX 
          Bit Rate:1 Mb/s   Tx-Power=13 dBm   
          Retry short limit:8   RTS thr=2347 B   Fragment thr=2346 B   
          Encryption key:XX-XX-XX-XX-XX   Security mode:open
          Power Management:off
          Link Quality=30/100  Signal level=-72 dBm  Noise level=-87 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:66  Invalid misc:160   Missed beacon:0

Compare the plug stats (1Mb/s and 30/100 connection) with my desktop computer
right next to the plug that has an external antenna (that came with the PCI card).

Code:
root:# iwconfig wlan0
wlan0     IEEE 802.11g  ESSID:"home"  Nickname:"desktop"
          Mode:Managed  Frequency:2.437 GHz  Access Point: XX-XX-XX-XX-XX   
          Bit Rate=54 Mb/s   Tx-Power:20 dBm   Sensitivity=-109 dBm 
          RTS thr=2347 B   Fragment thr=2346 B   
          Encryption key:XX-XX-XX-XX-XX   Security mode:open
          Power Management:off
          Link Quality:71/100  Signal level:-50 dBm  Noise level:-96 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

My plug has been modified.  I put copper heatsinks on the chips and removed the
power supply.  I have a 40mm 5V fan attached to the plug pulling air through a 35 mm
hole I cut on the opposite side from the ethernet/usb ports.  I am using a spare external
3A 5V Netgear powersupply.  I moved the pcb wires from the original internal plug
power supply to a jack that I attached to the plug.

I don't have a gigabit switch but the copper heatsinks are room temp.  I still get
system freezes due to the fact that it is in client mode.
47  General Category / General Discussion / SOLVED (sort-of) Re: permissions for samba to share usb drive with windows? on: November 30, 2010, 06:31:16 PM
I have looked at many samba tutorials and how-to s and was frustrated by the inconsistencies.

Two mistakes I made were that I forgot to change fstab stetting for the microSD from vfat to ext2
and I was using PyNeighborhood on my desktop linux box.  It turns out that PyNeighboorhood was
giving a mount error because /mnt/lan didn't exist not because of my smb.conf settings.  Embarrassed

Needless to say, now my desktop machine shows this

Code:
darkstar:$ smbclient -L mywifiplug -N
Domain=[MYWIFIPLUG] OS=[Unix] Server=[Samba 3.2.5]

        Sharename       Type      Comment
        ---------       ----      -------
        plug-storage    Disk      The Wifi-Sheevaplug Storage
        IPC$            IPC       IPC Service (Samba Server Version)
Domain=[MYWIFIPLUG] OS=[Unix] Server=[Samba 3.2.5]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
        LOCALDOMAIN          MYWIFIPLUG


Code:
darkstar:$ smbclient //192.168.1.100/plug-storage -N
Domain=[MYWIFIPLUG] OS=[Unix] Server=[Samba 3.2.5]
smb: \>

The problem now is that I can't list the share or see contents because of this error
Code:
smb: \> ls
Call returned zero bytes (EOF) listing \*
Error in dskattr: Call returned zero bytes (EOF)

Google turned up a french link describing the same problem and a fix
http://forums.fedora-fr.org/viewtopic.php?pid=165562
but I am not familiar with the /etc/nsswitch.conf file

On the guruplug, mine looks like this
Code:
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat
group:          compat
shadow:         compat

hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis

Any ideas on [NOTFOUND=return]?  I don't see anything about that here
http://www.faqs.org/docs/securing/chap6sec71.html

Removing [NOTFOUND=return] from the nsswitch.conf fixed the error.
48  General Category / General Discussion / permissions for samba to share usb drive with windows? on: November 23, 2010, 05:24:56 PM
I have a microSD card and it was originally VFAT.  I was able to browse windows network
neighborhood and see files on /media/usb0.  I reformatted the microSD so that a user
account can download podcasts according to a cron job (didn't want root to do this).

Now I am unable to figure out samba settings to allow read access to the drive.  My desktop
linux box can't access LOCALDOMAIN so it is definitely a plug issue.  I don't want to log in
to the share just to read files.

Code:
[global]

        workgroup = localdomain
        server string = Samba Server Version

        netbios name = mywifiplug

        hosts allow = 192.168.1  127.

        log file = /var/log/samba/%m.log
        max log size = 50
        security = share
        passdb backend = tdbsam
        guest account = nobody
#       map to guest = bad user

        encrypt passwords = true
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65
536
        load printers = no
        printing = bsd
        printcap name = /dev/null
        show add printer wizard = no
        disable spoolss = yes

        local master = yes
        os level = 65
        domain master = yes

        deadtime = 1
        keepalive = 0

        log level = 3

        username map = /etc/samba/smbusers

[plug-storage]
        comment = The Wifi-Sheevaplug Storage
        path = /media
        public = yes
        writable = yes
        guest ok = yes
        create mask = 0777
        directory mask = 0777

Permissions on plug are:

guruplug:~# ls -l /media/
total 4
lrwxrwxrwx 1 root root    4 2010-04-06 06:55 usb -> usb0
drwxr-xr-x 4 root root 4096 2010-11-22 20:23 usb0

guruplug:~# ls -l /media/usb0/
total 20
drwx------ 2 root  root 16384 2010-11-22 20:22 lost+found
drwxr-xr-x 2 darkstar root  4096 2010-11-22 20:23 podcast


I have modified the original smb.conf based on web info so now it is a mess.  I'm also trying to share a
usb printer on the plug that is configured with cups.  There are many conflicting smb.conf tutorials on
the web.  Can someone share a working file?  Plug wiki is hacked and is useless right now.
49  General Category / General Discussion / Re: Forward DCHP requests from Wifi on: November 16, 2010, 09:06:53 PM
http://www.openg.info/entry/bridging-wlan0-eth0

http://serverfault.com/questions/35307/how-to-forward-wlan0-to-eth0

It seems wireless bridging won't work.
50  Hardware and U-Boot firmware / Hardware / external wireless antenna? on: October 24, 2010, 10:09:01 AM
I got a guruplug server plus to replace a dead 802.11g wireless bridge and to use
as a NAS for some external USB drives.

I opened the case and am waiting for some heatsinks before setting up. 

I see (on the PCB and FCC site schematics) that J1 is a connector to the Azurewave chip.
I live in a crowded neighborhood and would like to use my Hawking directional antenna
to keep interference down.  My previous Linksys bridge kept dropping the connection
until I replaced the default omni directional antenna with a directional one.

My dead Linksys has a cable to connect an external RP-SMA jack to the PCB, but the guruplug
PCB connector is slightly different and won't accept the wire.  Here is a link with pictures
of what these look like.  The picture quality is low so I can't tell which one is in which device.
http://www.rosenberger.de/PDF/Publications/10_Communication/PCB_Flyer_2010.pdf


A couple of questions:  is the J1 connector for 802.11g?  what is the device labeled "ANT 1"
on the PCB (is it for Bluetooth?)  what kind of connector is J1 and can I get a cable to
connect my antenna?

I will move the power supply to accomodate the heatsinks and fan so an extra hole in the
case isn't a problem Smiley

Pages: 1 2 3 [4]