Make & run this script; adjust the partition numbers to match your own setup.

#!/bin/sh

#!/bin/sh

Line 155:

Line 155:

=Wifi=

=Wifi=

+

+

You'll also need to add "." to root's PATH or put that somewhere it root's PATH.

+

+

[root@fedora-arm ~]# tail -1 /root/.bashrc

+

+

Here's a crufty crappy script to get wifi and net:

+

+

# cat wlanon

+

#!/bin/sh

+

+

WLAN=`iwconfig |grep wlan | cut -f 1 -d " "`

+

echo "$WLAN"

+

+

ifconfig $WLAN down

+

sleep 1

+

iwconfig $WLAN mode managed

+

sleep 1

+

ifconfig $WLAN up

+

sleep 1

+

iwconfig $WLAN essid consume

+

sleep 1

+

ifconfig $WLAN 10.0.0.3 netmask 255.255.255.0 up

+

+

iwconfig $WLAN

+

sleep 2

+

ifconfig $WLAN

+

+

route add default gw 10.0.0.2

+

+

==OLD==

+

(Will add this to script later)

(Will add this to script later)

Line 165:

Line 196:

dhclient wlan0

dhclient wlan0

-

You'll also need to add "." to root's PATH or put that somewhere it root's PATH.

-

-

[root@fedora-arm ~]# tail -1 /root/.bashrc

PATH=$PATH:.

PATH=$PATH:.

Line 188:

Line 216:

Note: I had wifi working fine, then I installed a bunch of apps and network config broke and can't find the device anymore. :(

Note: I had wifi working fine, then I installed a bunch of apps and network config broke and can't find the device anymore. :(

+

+

Note 2: If you reboot without powering off or perhaps yanking the battery, your device may appear as wlan2 or wlan3 etc.

+

+

+

'''EDIT: UPDATE:''' by SimonGie 28/07/2010

+

+

This works for a network that has no encryption but will not connect to one that does.

+

Boot into Maemo and chroot into the Fedora install. Then yum install wpa_supplicant.

+

Then edit your wpa_supplicant.conf to something like this:

+

+

This config below is for two wireless networks...I have one at home and at work that I could connect to. Obviously you need to change the SSID and passkeys to your relevant info. If you only need to connect to one wlan, then leave the 2nd one off.

This should initialise the wlan card, you can check this by typing iwconfig

+

+

If you have device does not exist errors, boot into Maemo, mount the Fedora partition and delete the file

+

+

/etc/udev/rules.d/70-persistent-net.rules

+

+

Because the wireless MAC address changes for some reason and Udev assigns it a different name. Deleting that file will make Udev redetect it as wlan0

+

+

You should now have internet access.

+

+

Do a yum install NetworkManager-gnome and let it install. When eventually you boot into the desktop, NetworkManager should start and you will be able to connect to any wireless network, regarless of wpa_supplicant.conf

+

+

If NetworkManager complains about required resources, run this command from the terminal

You will need to install a kernel that has a framebuffer console. You can use your own or use mine. See: Installing my custom kernel if you would like to use mine. Version 2.6.28-omap1-jebba5 is known to "work".

I have four partitions on my MicroSD card. The first one is 100M of VFAT just to shut up fremantle. The second is 1G of swap. The third is 7G of space for fremantle. The remaining space is around 7G of space for Fedora. You can install it in far less space, but I have a 16G card, so that's what I did. These docs assume you use my partitioning.

I got wifi going by writing a simple script that I can run at boot. Can't use many of the keys, so no "0", "/" etc. I used iwconfig which I yum installed in the chroot, but this could easily be done with the more modern "iw" which comes installed.

Note: I had wifi working fine, then I installed a bunch of apps and network config broke and can't find the device anymore. :(

Note 2: If you reboot without powering off or perhaps yanking the battery, your device may appear as wlan2 or wlan3 etc.

EDIT: UPDATE: by SimonGie 28/07/2010

This works for a network that has no encryption but will not connect to one that does.
Boot into Maemo and chroot into the Fedora install. Then yum install wpa_supplicant.
Then edit your wpa_supplicant.conf to something like this:

This config below is for two wireless networks...I have one at home and at work that I could connect to. Obviously you need to change the SSID and passkeys to your relevant info. If you only need to connect to one wlan, then leave the 2nd one off.

Then reboot the phone and boot into Fedora desktop
Once logged in, run the script wlanon
This should initialise the wlan card, you can check this by typing iwconfig

If you have device does not exist errors, boot into Maemo, mount the Fedora partition and delete the file

/etc/udev/rules.d/70-persistent-net.rules

Because the wireless MAC address changes for some reason and Udev assigns it a different name. Deleting that file will make Udev redetect it as wlan0

You should now have internet access.

Do a yum install NetworkManager-gnome and let it install. When eventually you boot into the desktop, NetworkManager should start and you will be able to connect to any wireless network, regarless of wpa_supplicant.conf

If NetworkManager complains about required resources, run this command from the terminal

gtk-update-icon-cache -f /usr/share/icons/hicolor

NetworkManager is working flawlessly with my install.
--77.101.61.5 20:49, 27 July 2010 (UTC)

X is up and running with XFCE & openbox. I have the touchscreen working. I can do touchscreen calibration.

# as root, I did this via ssh when networking was working
yum groupinstall Base-X
# grab a desktop. No openbox or lxde available at the moment for ARM.
yum groupinstall XFCE
# Screen config.
yum install tslib xorg-x11-apps
# fix /etc/hosts to this so XFCE doesn't complain:
127.0.0.1 localhost localhost.localdomain fedora-arm
# since keyboard isn't working you have to set up this script from
# chroot or ssh in:
echo "TSLIB_TSDEVICE=/dev/input/event3 TSLIB_CONFFILE=/etc/ts.conf ts_calibrate" > /root/ts
chmod +x /root/ts
# then next time you boot up, log in as root and run "ts" to calibrate.
# Uncomment this line in /etc/ts.conf:
module_raw input