Nokia N95 bluetooth teethering with T-Mobile under Linux and Delll Latitude D630

Spent a bit of time to configure my Nokia mobile to teethering wih my Linux and T-Mobile. Here is some steps that may help the others :

  • If you don’t have that blue bluetooth led switched on on your Dell Latitude D630 Laptop you have to enable it. I haven’t find any way to do that via the Linux Kernel module but with Windows under Vmware Player (3.0) enabling Bluetooth and installing the driver (manually not via the setup.exe) enabled bluetooth.
  • Switched on bluetooth on the Phone and attached to the laptop via gnome bluetooth applet thingy.
  • Get my phone device number from hcitool scan.
  • And did this (as root) :

cat </etc/bluetooth/rfcomm.conf
#
# RFCOMM configuration file.
#

rfcomm0 {
# Automatically bind the device at startup
bind yes;

# Bluetooth address of the device
device YOUR:PHONE:DEVICE:NUMBER;

# RFCOMM channel for the connection
channel 4;

# Description of the connection
comment “Nokia N95”;
}
EOF

/etc/init.d/bluetooth restart

cat </etc/ppp/chat-tmobile
ABORT BUSY
ABORT ‘NO CARRIER’
ABORT ‘NO ANSWER’
ABORT ERROR
REPORT CONNECT
SAY ‘Calling t-mobile…\n’
“” ‘ATZ’
OK ‘ATE0V1&D2&C1S0=0+IFC=2,2’
SAY ‘Modem reset.\n’
SAY ‘Setting APN…’
OK ‘AT+cgdcont=1,”IP”,”general.t-mobile.uk”‘
SAY ‘APN set\n’
SAY ‘Dialling…\n’
OK ‘ATDT*99#’
TIMEOUT 30
CONNECT “”
EOF

cat </etc/ppp/peers/t-mobile
/dev/rfcomm0
460800
idle 7200
modem
noauth
lock
crtscts
defaultroute
user “user”
password “pass”
noipdefault
usepeerdns
updetach
noccp
nobsdcomp
#novj
ipcp-restart 10
ipcp-accept-local
ipcp-accept-remote
lcp-echo-interval 65535
lcp-echo-failure 10
lcp-max-configure 10
connect “/usr/sbin/chat -v -f /etc/ppp/chat-tmobile”
EOF

Under Debian distros you can enable the connection with the command ‘pon t-mobile’ or you for the others can do via the manual way with the command ‘pppd call t-mobile’.

Network manager and iwl3945 not showing network

So if you have network-manager not detecting wireless networks it is probably because lately the driver need to be set as up to get the thing going.

On my Debian I have added this to make it works :

echo "/sbin/ip link set wlan0 up"|sudo tee /etc/default/NetworkManager

Debian Lenny on Dell Optiplex 760

So if you get that shiny new Dell desktop and ACPI spit bunch of message at the install time and the network driver does not get detected you can follow these steps to have it working.

– Continue the install without the network until you reboot to grub.

– Add hpet=disable at the end of the boot kernel parameter and get into the system.

– Download the latest kernel for your architecture on :

http://kernel-archive.buildserver.net/debian-kernel/pool/main/l/linux-2.6/

– Transfer it on a USB key and dpkg -i it.

– Make sure you add the hpet=disable at the kopt option of /boot/grub/menu.lst and launch a update-grub.

– On reboot you should now have the network you can do the standard tasksel to install a Desktop etc….