*

Welcome, Guest. Please login or register.

Get your own OLPC - Buy an XO laptop on eBay!
Pages: 1 ... 8 9 10 [11] 12 13 14 ... 37
Print
Author Topic: Beyond the Ubuntu Installation  (Read 415437 times)

#150 Re: Beyond the Ubuntu Installation

MarkS
Contributor
*
Posts: 57


June 09, 2008, 09:10:00 PM

have seen hanging USB bus, however so far the adapter works if I:

1. Use SD card for booting.
2. Plug wireless adapter in on boot.
3. Shut down the built-in network interface before using the second one (not sure if it's important).
4. Configure everything manually.

Again, I am not sure yet what exactly does not work yet, and what triggered usb errors, however so far it looks like basic functionality works.
Yahoo teapot! You're a genius!

It works! The important thing was to shut down the competing network modules. I'm probably doing this the hard way, so please let me know if there's a simpler way. What I'm doing is after I've logged in as olpc and sudo sh to root I remove -- one by one -- each of the modules that seem to relate to networking. A bit tedious. Then I plug in the antenna which apparently auto-loads the driver. Then I exit to the olpc user and start up xfce4. After that I can connect with the network manager -- and start browsing.

I'm using a flash drive -- not a SD card. Would the card provide an advantage over the drive? There's a sale on 2G cards ending tomorrow ;-)

One small anomaly, and it may not have anything to do with the drivers. When I scan for local cells (using iwlist), I see one cell with no essid and no address, yet with a signal level of 63%

Thanks again!
Mark
Logged

#151 Re: Beyond the Ubuntu Installation

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
June 15, 2008, 03:03:48 PM

I am currently building debian packages for kernel -- kernel just booted with new configuration and Ubuntu ramdisk, so it looks like I will be able to release an updated version.

Important things:

1. Now everything works fine with Ubuntu ramdisk instead of OLPC ramdisk image. This doesn't mean much for anything practical, but it's closer to the "normal" Ubuntu, and will eliminate tens of megabytes of files installed just to keep package manager from complaining.

2. Since kernel and modules are going to be installed from custom debian package instead of being copied from flash, installation procedure will be much easier -- the only thing you have to copy manually /security , so I can make a simple installation script instead of the long procedure we have now.

3. I have added driver for zd1211 wireless adapters, so now they will now work, but may need some additional scripts to be safely activated.

4. For those who have my earlier versions, updates should work as regular package installation (sorry, no auto-update with package repository yet).

Unimportant things:

5. Youtube downloader will be added to the default configuration.

6. I am going to add some better screen/backlight controls, still don't know the extent of what should be changed.

7. Still no real power management -- SD corruption bug isn't fixed -- but we can turn off the backlight to reduce power consumption.

Any ideas about details of 6 and 7? Which controls use for separate brightness/color switching, what conditions to place on backlight turning off, etc?
Logged

#152 Re: Beyond the Ubuntu Installation

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
June 15, 2008, 04:42:25 PM

The procedure that so far worked for zd1211 adapter (with zd1211rw module compiled and installed with a new kernel, see my previous message):

1. Boot from  SD without the wireless adapter connected.
2. Without logging in at the graphical UI press Ctrl-Alt-(network) to get the console.
3. Log in as root, (or as regular user, then sudo -s )
4. Stop Network Manager:

/etc/dbus-1/event.d/25NetworkManager stop

5. Stop built-in network interface and remove its modules:

ifconfig eth0 down
rmmod usb8xxx
rmmod libertas

6. Connect USB wireless adapter. Modules will load automatically.

7. Enable new network interface and start Network Manager again:

ifconfig eth1 up
/etc/dbus-1/event.d/25NetworkManager start

8. Exit the shell.

exit

back to the console login prompt.

9. Press Alt-fn-7 to get back to the GUI login prompt.

10. Log in. Network Manager and its applet will recognize the wireless interface.

(I am now posting from this configuration).
Logged

#153 Re: Beyond the Ubuntu Installation

AppleIIGuy
Commenter

Posts: 20


US Navy Fire Controllman


June 16, 2008, 12:05:33 PM

Ok I have my XOLPC working on a WPA2 Network a Apple Time Capsule. Now in sugar it works fine but if I boot off my 16gb SDHC card with ubuntu on it i get no network.

I tried all the suggestions to get wireless networking up. I even disabled all security had my wireless router totally open and i still could not connect when in ubuntu. Should I just accept that wireless support for the xo in ubuntu sucks and get a usb adapter?
Logged

#154 Re: Beyond the Ubuntu Installation

tangomike
Contributor
*
Posts: 77


June 16, 2008, 12:18:54 PM

Ok I have my XOLPC working on a WPA2 Network a Apple Time Capsule. Now in sugar it works fine but if I boot off my 16gb SDHC card with ubuntu on it i get no network.

I tried all the suggestions to get wireless networking up. I even disabled all security had my wireless router totally open and i still could not connect when in ubuntu. Should I just accept that wireless support for the xo in ubuntu sucks and get a usb adapter?

I have two XO's running Ubuntu on my home wireless 802.11g. I use wifi-radar to handle connections via the XO wireless. See for example

http://olpcnews.com/forum/index.php?topic=2121.msg21475#msg21475
Logged

#155 Re: Beyond the Ubuntu Installation

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
June 16, 2008, 01:04:03 PM

Ok I have my XOLPC working on a WPA2 Network a Apple Time Capsule. Now in sugar it works fine but if I boot off my 16gb SDHC card with ubuntu on it i get no network.

I tried all the suggestions to get wireless networking up. I even disabled all security had my wireless router totally open and i still could not connect when in ubuntu. Should I just accept that wireless support for the xo in ubuntu sucks and get a usb adapter?
What exactly did you do trying to make it work?
Logged

#156 Re: Beyond the Ubuntu Installation

AppleIIGuy
Commenter

Posts: 20


US Navy Fire Controllman


June 16, 2008, 04:49:58 PM

Well i have network manager installed
Click on it and see all the local wireless points
Select my access point
it is set on WPA2 Personal
It then asks for s password which i enter
I have tried both automatic and AES-CCMP
it then tries to connect for about 2 min then gives up
but on the task bar it says waiting for network key for the wireless network 'null'
even tried to connect to the local unsecured network (It worked on my iphone)
oh and my sdhc ubuntu install was the compressed file method
Logged

#157 Re: Beyond the Ubuntu Installation

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
June 16, 2008, 05:09:48 PM

oh and my sdhc ubuntu install was the compressed file method

Which version? Gutsy (moocapiean's) or Hardy (mine)?
Logged

#158 Re: Beyond the Ubuntu Installation

AppleIIGuy
Commenter

Posts: 20


US Navy Fire Controllman


June 16, 2008, 06:31:03 PM

The one in this torrent http://torrents.thepiratebay.org/4002289/OLPCFile.tar.bz2.4002289.TPB.torrent

from this thread http://olpcnews.com/forum/index.php?topic=1436.0
Logged

#159 Re: Beyond the Ubuntu Installation

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
June 16, 2008, 06:36:22 PM


That's Gutsy. Hardy (see page 2 of this thread) includes a lot of changes since that version, so most likely it will work out of the box.
Logged

#160 Re: Beyond the Ubuntu Installation

AppleIIGuy
Commenter

Posts: 20


US Navy Fire Controllman


June 16, 2008, 08:33:04 PM

installed it but where do I control the wireless in your install?
It seems the networkmanager is not installed
« Last Edit: June 16, 2008, 08:37:57 PM by AppleIIGuy » Logged

#161 Re: Beyond the Ubuntu Installation

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
June 16, 2008, 09:31:59 PM

installed it but where do I control the wireless in your install?
It seems the networkmanager is not installed


Network manager applet in on the bottom panel, to the left from the desktop switcher. If it does not show wireless interfaces, you probably forgot to copy usb8388.bin file (to fix that on the installed system run sudo mkdir /lib/firmware ; sudo cp /media/olpcmtd0/versions/running/lib/firmware/usb8838.bin /lib/firmware/ and reboot).
« Last Edit: June 16, 2008, 09:37:17 PM by teapot » Logged

#162 Re: Beyond the Ubuntu Installation

AppleIIGuy
Commenter

Posts: 20


US Navy Fire Controllman


June 16, 2008, 10:36:57 PM

The network applet does not show at all
the usb8388.bin was all ready in /lib/firmware
but copied it anyway
Rebooted
did not see network applet.

I got the tar from your torrent listed on page 2 extracted it following your commands on my ubuntu nas machine. Why cant a image be released that doesn't need any files copied over but the develop.sig?
Logged

#163 Re: Beyond the Ubuntu Installation

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
June 17, 2008, 12:14:14 AM

The network applet does not show at all
the usb8388.bin was all ready in /lib/firmware
but copied it anyway
Rebooted
did not see network applet.

This is strange.

After logging in the applet should look like this (rectangle on the left with "network disconnected" icon, should give menu of wireless networks on left click, configuration menu on right click):



Can you post the output of:

lsusb
iwconfig eth0
ifconfig eth0
lsmod
ps axuww | grep Network


?
Quote
I got the tar from your torrent listed on page 2 extracted it following your commands on my ubuntu nas machine. Why cant a image be released that doesn't need any files copied over but the develop.sig?

When this version of Ubuntu tarball was released, kernel in OLPC releases was undergoing a lot of changes, and people had wide range of versions, so I wanted to keep kernel in Ubuntu synchronized with kernel on the same laptop in the original configuration, to avoid introducing an additional variable in situations like this. So far it's the first time anyone encountered any significant difference in device handling between OLPC original configuration and Ubuntu with the same kernel, except for power management problem that was identified very early in the process (Ubuntu has it disabled, and I never enabled it because it caused SD cards corruption regardless of the system).

I am working on another release that will include a custom-compiled kernel that corresponds to the latest version available from OLPC.
« Last Edit: June 17, 2008, 12:16:36 AM by teapot » Logged

#164 Re: Beyond the Ubuntu Installation

AppleIIGuy
Commenter

Posts: 20


US Navy Fire Controllman


June 17, 2008, 06:20:09 AM

Yep that icon is missing.

lsusb
Bus 001 Device 002: ID 1286:2001 Marvell Semiconductor, Inc.
Bus 001 Device 001: ID 0000:0000 
Bus 002 Device 002: ID 046d:c50e Logitech, Inc. MX-1000 Cordless Mouse Receiver
Bus 002 Device 001: ID 0000:0000 

iwconfig eth0                 
eth0      IEEE 802.11b/g  ESSID:"" 
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power=13 dBm   
          Retry limit:8   RTS thr=2347 B   Fragment thr=2346 B   
          Encryption key:off
          Power Management:off
          Link Quality=96/100  Signal level=0 dBm  Noise level=-96 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:7513
          Tx excessive retries:17  Invalid misc:120   Missed beacon:0


ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:17:c4:15:2d:ed 
          inet6 addr: fe80::217:c4ff:fe15:2ded/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:111 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6438 (6.2 KB)  TX bytes:788 (788.0 B)

Module                  Size  Used by
mtdblock                5216  0
mtd_blkdevs             8800  1 mtdblock
loop                   17284  0
usb8xxx                17696  0
libertas              178392  1 usb8xxx
ieee80211              32072  1 libertas
ieee80211_crypt         5632  1 ieee80211
serio_raw               6596  0
joydev                  9472  0
cs5535_gpio             4708  0
mousedev               11160  1

ps axuww | grep Network
root     1146  0.0  0.8  20988  2096 ?        Ssl  13:09   0:00 /usr/sbin/NetworkManager --pid-file /var/run/NetworkManager/NetworkManager.pid
root     1160  0.0  0.5   3436  1308 ?        Ss   13:09   0:00 /usr/sbin/NetworkManagerDispatcher --pid-file /var/run/NetworkManager/NetworkManagerDispatcher.pid
root     1573  0.0  0.2   1696   500 pts/0    R+   13:15   0:00 grep Network


Logged
Pages: 1 ... 8 9 10 [11] 12 13 14 ... 37
Print
Jump to:  

Members
Total Members: 2405
Latest: sembik
Stats
Total Posts: 31943
Total Topics: 3843
Online Today: 48
Online Ever: 238
(April 18, 2011, 09:48:50 PM)
Users Online
Users: 0
Guests: 12
Total: 12