Coldbird
Member
- Joined
- Aug 15, 2010
- Messages
- 397
Hello there, I'm trying to script a tiny little Wireless Helper for myself...
In some parts of my house, my WLAN connection plain and simple sucks... and I've been thinking bout getting a Repeater for quite some time...
However, my router doesn't support WDS... which is a requirement for all < 50€ repeaters to function...
So I thought I would plain and simple turn my Pandora into a mobile WLAN repeater...
I wanted to achieve that by...
1. connecting internal wifi card to my wlan...
2. switching a usb connected wifi dongle into master mode and setup a ssid...
3. using iptables to "share" the internet connection to the newly created "AP".
The initial step to get this working however is enabling USB WIFI devices in kernel... the normal HF5 kernel doesn't include it any longer... leaving me without USB wifi compatiblity...
So... first thing I did was ready a development environment... because of simplicity - I decided to install the Pandora OS to a SD card and let Pandora handle its own compiling...
The reason I decided to do this was because I gotta switch a lot between Windows and Linux @ school... and its very nice to boot up SSH / Putty and then work on your code without a teacher noticing... no matter what OS you run... ;D
So yeah... I set things up... but on compiling the kernel I'm facing this error...
Error: selected processor does not support ARM mode `cpsid i'
Previously I also had a smc #0 error, which I solved by editing arch/arm/Makefile...
arch-$(CONFIG_CPU_32v7) :=-D__LINUX_ARM_ARCH__=7 $(call cc-option,-march=armv7-a+sec, -Wa$(comma)-march=armv7-a+sec)
The +sec here did the job of fixing that...
However I'm stuck on the cpsid thing now... and no matter where I look... I don't find a solution for this...
Some people on the internet claim changing armv7a to armv7-a fixes it... however as you can see my Makefile already uses the -march=armv7-a flag.
Someone has a idea bout this?
In some parts of my house, my WLAN connection plain and simple sucks... and I've been thinking bout getting a Repeater for quite some time...
However, my router doesn't support WDS... which is a requirement for all < 50€ repeaters to function...
So I thought I would plain and simple turn my Pandora into a mobile WLAN repeater...
I wanted to achieve that by...
1. connecting internal wifi card to my wlan...
2. switching a usb connected wifi dongle into master mode and setup a ssid...
3. using iptables to "share" the internet connection to the newly created "AP".
The initial step to get this working however is enabling USB WIFI devices in kernel... the normal HF5 kernel doesn't include it any longer... leaving me without USB wifi compatiblity...
So... first thing I did was ready a development environment... because of simplicity - I decided to install the Pandora OS to a SD card and let Pandora handle its own compiling...
The reason I decided to do this was because I gotta switch a lot between Windows and Linux @ school... and its very nice to boot up SSH / Putty and then work on your code without a teacher noticing... no matter what OS you run... ;D
So yeah... I set things up... but on compiling the kernel I'm facing this error...
Error: selected processor does not support ARM mode `cpsid i'
Previously I also had a smc #0 error, which I solved by editing arch/arm/Makefile...
arch-$(CONFIG_CPU_32v7) :=-D__LINUX_ARM_ARCH__=7 $(call cc-option,-march=armv7-a+sec, -Wa$(comma)-march=armv7-a+sec)
The +sec here did the job of fixing that...
However I'm stuck on the cpsid thing now... and no matter where I look... I don't find a solution for this...
Some people on the internet claim changing armv7a to armv7-a fixes it... however as you can see my Makefile already uses the -march=armv7-a flag.
Someone has a idea bout this?