Active Topics

 


Reply
Thread Tools
Posts: 14 | Thanked: 1 time | Joined on Jan 2006 @ Hamburg, Germany
#11
Thanks, but the LAN-IP is 10.0.0.1
 
superbondbond's Avatar
Posts: 103 | Thanked: 31 times | Joined on Sep 2006 @ US
#12
I'm not sure why it's not letting you bridge the connections then.

I don't really use Windows that much....

Sorry.
 
Karel Jansens's Avatar
Posts: 3,220 | Thanked: 326 times | Joined on Oct 2005 @ "Almost there!" (Monte Christo, Count of)
#13
Below is the link to the instructions I followed to create a temporary wireless ad-hoc network for NokiLLO. I used it when I stayed at a friend's who didn't have either a wireless router or a Linux computer.

It worked, but don't expect the kind of range you get from a router (I used a USB WiFi adapter): the connection was only marginally better than typical Bluetooth ranges.

http://www.microsoft.com/windowsxp/u...mspx?pf=trueHi
 
Posts: 162 | Thanked: 3 times | Joined on Jun 2006
#14
Originally Posted by Karel Jansens
It worked, but don't expect the kind of range you get from a router (I used a USB WiFi adapter): the connection was only marginally better than typical Bluetooth ranges.
Ah, so I was right about the range? I was kinda wondering how that turned out for you.
 
Karel Jansens's Avatar
Posts: 3,220 | Thanked: 326 times | Joined on Oct 2005 @ "Almost there!" (Monte Christo, Count of)
#15
Originally Posted by Drewvt
Ah, so I was right about the range? I was kinda wondering how that turned out for you.
Yes, you were right (did I forget to thank you? I often do). The reason is probably that WiFi cards/USB sticks are geared towards reception, as uploads are generally less important to the typical user.

OTOH, I might be talking complete cobblers here...
 
Posts: 20 | Thanked: 0 times | Joined on Nov 2006
#16
Not that this relates to the original problem, but someone mentioned bridging two network cards in Linux.

I use a free firewall program called Firestarter. It's GUI based and makes bridging cards in Linux a point-and-click experience. I use it to get my 770 on the internet thru a USB Bluetooth device on a Linux box that's hard wired to a LAN.
 
Texrat's Avatar
Posts: 11,700 | Thanked: 10,045 times | Joined on Jun 2006 @ North Texas, USA
#17
I'm not sure if that will work for me. I do have a wired and wireless card (as well as bluetooth) but this is a work laptop and I have to use DHCP on both adapters. If there's a way to create a PAN for 770 use under that circumstance I'd love to see it. That would solve a huge problem I encountered in trying to use the tablet for work purposes.
 
superbondbond's Avatar
Posts: 103 | Thanked: 31 times | Joined on Sep 2006 @ US
#18
Originally Posted by dino
Not that this relates to the original problem, but someone mentioned bridging two network cards in Linux.

I use a free firewall program called Firestarter. It's GUI based and makes bridging cards in Linux a point-and-click experience. I use it to get my 770 on the internet thru a USB Bluetooth device on a Linux box that's hard wired to a LAN.
Precisely. I was trying to explain things as "Windows-centric" as I could. But that's how I did it too. (my preference was Jay's Firewall)
 
Posts: 20 | Thanked: 0 times | Joined on Nov 2006
#19
This is how I get my 770 online at work.
)Pop a copy of the Linux live CD BackTrack in a spare computer and boot it up.

)Set up the LAN. It might even do it automaticaly for you with DHCP.

)From a USB stick copy the scripts dinoBluecomputer.sh, dinoBluecomputer2.sh, and firestarter.mo to the computer.

)Use the command "uselivemod firestarter.mo" to install firestarter.
NOTE: Be sure to use a copy of firestarter.mo. The "uselivemod" command will move the file so you don't want to use the one on the USB drive.

)Run "dinoBluecomputer.sh".

)When prompted "Start the Nokia and hit a key to continue." run dinoBlueUp.sh from the Nokia.

)On the computer hit a key to continue. The command "pand -l" should show the MAC id of the Nokia 770.

)Now run firestarter and click the "Enable internet sharing". There is a DHCP option also, but I've never used it.

)On the Nokia you need to bring up the network connection "Default". I can't remember how to set up the Default. Somewhere on this site is the commands need to create Default. Maybe some one can chime in at this point.

You would only need to use DHCP for the LAN connection because nothing is being changed on the actual laptop harddrive.

slax nokia # cat ./dinoBluecomputer.sh
#!/bin/sh
hciconfig hci0 up
sleep 5
pand -s -r NAP
echo "Start the Nokia and hit a key to continue."
read key
./dinoBluecomputer2.sh
echo "Now run firestarter."
slax nokia # cat dinoBluecomputer2.sh
#!/bin/sh
ifconfig bnep0 192.168.2.1 netmask 255.255.255.0 broadcast 192.168.2.255
slax nokia # cat ./dinoBlueUp.sh
#!/bin/sh
# use gainroot to become root and relaunch itself
if [ `id -u` != 0 ] ; then
#if not already root, call itself as root
sudo gainroot <<EOF
$0 $*
EOF
exit
fi
# real script follows
BTADDR='xx:xx:xx:xx:xx:xx'
IP=192.168.2.2
GW=192.168.2.1
NS=192.168.2.1
IFACE=bnep0

#insmod just to be sure
insmod /mnt/initfs/lib/modules/current/bnep.ko
#start PAN Bluetooth connection
pand --connect $BTADDR

# wait for the interface created by pand
s=60
echo -n "Waiting $s secs for $IFACE"
while [ $s -gt 0 ] ; do
ifconfig $IFACE >/dev/null 2>&1 && break
s=$((s-1))
echo -n "."
sleep 1
done
echo
if ifconfig $IFACE >/dev/null 2>&1 ; then
# bring it up
echo "OK, bringing $IFACE up"
ifconfig $IFACE $IP up
route add default gw $GW
echo "nameserver $NS" >/tmp/resolv.conf.lo
else
echo "Error: $IFACE not available."
fi
slax nokia # cat ./dinoBlueDown.sh
#!/bin/sh
# use gainroot to become root and relaunch itself
if [ `id -u` != 0 ] ; then
#if not already root, call itself as root
sudo gainroot <<EOF
$0 $*
EOF
exit
fi
# real script follows
echo -n '' >/tmp/resolv.conf.lo
pand -K
sleep 1
rmmod bnep
Attached Images
 

Last edited by dino; 2006-12-01 at 15:18.
 
Posts: 72 | Thanked: 8 times | Joined on Jan 2007
#20
Originally Posted by Karel Jansens View Post
The reason is probably that WiFi cards/USB sticks are geared towards reception, as uploads are generally less important to the typical user.
Sorry, but I'm a stickler for details and this is an area of semi-expertise. The problem is the antenna. There's not really anything about a wireless card that can be done to make it prefer reception or sending, but cards tend to have more craptastic antennas that routers.

This means that, especially a USB stick style card, will be "quieter". This isn't a big deal, because the router has better antennas. Better antennas mean it can "hear" the "quite" signals better, and it can also "shout" a lot louder so the crappy antennas in the USB stick can hear it.

The Nokia most definitely has as crappy an antenna as any USB stick. A PCI card with a removable antenna would be a much better mate than a USB stick.

Power output might play an effect here as well, as a USB stick probably doesn't send as much signal to the antenna, but the whole concept remains the same.
 
Reply


 
Forum Jump


All times are GMT. The time now is 09:52.