{"id":195,"date":"2010-07-15T19:30:35","date_gmt":"2010-07-15T23:30:35","guid":{"rendered":"http:\/\/www.xavignu.com\/?p=195"},"modified":"2010-07-15T19:32:18","modified_gmt":"2010-07-15T23:32:18","slug":"wireless-in-powerbook-g4","status":"publish","type":"post","link":"https:\/\/www.xavignu.com\/?p=195","title":{"rendered":"Wireless in Powerbook G4"},"content":{"rendered":"<p>I have an old <a href=\"http:\/\/en.wikipedia.org\/wiki\/PowerBook_G4#Aluminum_PowerBook_G4\" target=\"_blank\">Powerbook G4<\/a> 12 inch running <a href=\"http:\/\/www.debian.org\/\" target=\"_blank\">Debian<\/a>. I had issues connecting to the wireless if I was not using <a href=\"http:\/\/www.gnome.org\/\" target=\"_blank\">Gnome<\/a>. I found out it was because of <a href=\"http:\/\/projects.gnome.org\/NetworkManager\/\" target=\"_blank\">Network Manager<\/a>. While Network Manager is running I can not connect to the wireless network from command line. Currently I am using <a href=\"http:\/\/openbox.org\/wiki\/Help:Getting_started\" target=\"_blank\">OpenBox<\/a> so it doesn&#8217;t connect automatically to the wireless. Here is a small howto.<\/p>\n<p>First we check module b43 is installed.<\/p>\n<pre>\r\n[19:16:50] xavi@NewYork:\/tmp $ sudo modinfo b43\r\nfilename:       \/lib\/modules\/2.6.30-2-powerpc\/kernel\/drivers\/net\/wireless\/b43\/b43.ko\r\nfirmware:       FW13\r\nlicense:        GPL\r\nauthor:         Michael Buesch\r\nauthor:         Stefano Brivio\r\nauthor:         Martin Langer\r\ndescription:    Broadcom B43 wireless driver\r\nalias:          pcmcia:m02D0c0448f*fn*pfn*pa*pb*pc*pd*\r\nalias:          ssb:v4243id0812rev10*\r\nalias:          ssb:v4243id0812rev0F*\r\nalias:          ssb:v4243id0812rev0D*\r\nalias:          ssb:v4243id0812rev0B*\r\nalias:          ssb:v4243id0812rev0A*\r\nalias:          ssb:v4243id0812rev09*\r\nalias:          ssb:v4243id0812rev07*\r\nalias:          ssb:v4243id0812rev06*\r\nalias:          ssb:v4243id0812rev05*\r\ndepends:        pcmcia,mac80211,ssb,input-polldev,pcmcia_core,rfkill,rng-core,cfg80211\r\nvermagic:       2.6.30-2-powerpc mod_unload modversions \r\nparm:           bad_frames_preempt:enable(1) \/ disable(0) Bad Frames Preemption (int)\r\nparm:           fwpostfix:Postfix for the .fw files to load. (string)\r\nparm:           hwpctl:Enable hardware-side power control (default off) (int)\r\nparm:           nohwcrypt:Disable hardware encryption. (int)\r\nparm:           qos:Enable QOS support (default on) (int)\r\nparm:           btcoex:Enable Bluetooth coexistance (default on) (int)\r\nparm:           verbose:Log message verbosity: 0=error, 1=warn, 2=info(default), 3=debug (int)\r\n[19:16:54] xavi@NewYork:\/tmp $ lsmod | grep -i b43\r\nb43                   138992  0 \r\nrfkill                 15184  3 rfkill_input,b43\r\nrng_core                7952  1 b43\r\nmac80211              178904  1 b43\r\ncfg80211               72376  2 b43,mac80211\r\ninput_polldev           7836  2 b43,ams\r\nssb                    51292  1 b43\r\npcmcia                 32336  2 b43,ssb\r\npcmcia_core            40868  3 b43,ssb,pcmcia\r\n[19:17:09] xavi@NewYork:\/tmp $ \r\n<\/pre>\n<p>Stop Network Manager<\/p>\n<pre>bash$ sudo \/etc\/init.d\/network-manager stop<\/pre>\n<p>Bring up wireless interface. Wlan0 in my case.<\/p>\n<pre>bash$ sudo ifconfig wlan0 up<\/pre>\n<p>Scan the available wireless networks.<\/p>\n<pre>bash$ sudo iwconfig wlan0 scanning<\/pre>\n<p>Connect to the ESSID<\/p>\n<pre>bash$ sudo iwconfig wlan0 essid<\/pre>\n<p>Get an IP from the wireless access point.<\/p>\n<pre>bash$ sudo dhclient wlan0 <\/pre>\n<p>Ping an external address to see you are connected to the internet.<\/p>\n<pre>\r\n[19:31:57] xavi@NewYork:\/tmp $ !ping\r\nping -c 3 debian.org\r\nPING debian.org (194.109.137.218) 56(84) bytes of data.\r\n64 bytes from klecker.debian.org (194.109.137.218): icmp_req=1 ttl=50 time=119 ms\r\n64 bytes from klecker.debian.org (194.109.137.218): icmp_req=2 ttl=50 time=116 ms\r\n64 bytes from klecker.debian.org (194.109.137.218): icmp_req=3 ttl=50 time=101 ms\r\n\r\n--- debian.org ping statistics ---\r\n3 packets transmitted, 3 received, 0% packet loss, time 2002ms\r\nrtt min\/avg\/max\/mdev = 101.768\/112.858\/119.928\/7.940 ms\r\n[19:32:02] xavi@NewYork:\/tmp $ \r\n<\/pre>\n<p>You should now be ready to go. I will write more on this later on.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have an old Powerbook G4 12 inch running Debian. I had issues connecting to the wireless if I was not using Gnome. I found out it was because of Network Manager. While Network Manager is running I can not connect to the wireless network from command line. Currently I am using OpenBox so it [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[3],"tags":[48,22,6,23,45,70,47,46],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/pTQgt-39","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.xavignu.com\/index.php?rest_route=\/wp\/v2\/posts\/195"}],"collection":[{"href":"https:\/\/www.xavignu.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xavignu.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xavignu.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xavignu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=195"}],"version-history":[{"count":0,"href":"https:\/\/www.xavignu.com\/index.php?rest_route=\/wp\/v2\/posts\/195\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.xavignu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xavignu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xavignu.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}