Re: NetworkManager works just fine (was: [ubuntu host] NetworkManager improvements)

2009-02-24 Thread Daniel.Li
On Tue, 2009-02-24 at 00:18 -0500, Joel Newkirk wrote:
 Thanks. With the current Ubuntu there have been problems where NM
 tries
 to take control of usb0 despite being told not to, or refuses to
 follow
 manual setting within its own GUI, but also it has had problems where
 it
 tries to point default route out usb0, or brings eth0 down and back
 up,
 or other odd behavior. Lately most of that seems fixed.

Well, ubuntu 8.10 works. 
http://wiki.openmoko.org/wiki/USB_Networking#Ubuntu_8.10_-_Easy_Way 
-- 
Daniel.Li lida_m...@163.com
PALFocus (http://palfocus.oicp.net)



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [ubuntu host] NetworkManager improvements

2009-02-23 Thread Cédric Berger
On Mon, Feb 23, 2009 at 04:02, Denis Johnson denis.john...@gmail.com wrote:

 If anyone has already tried then please chime in.


Indeed with NetworkManager connecting the Freerunner was sometimes a pain.

So I switched to wicd a month ago, and now it connects flawlessly... I
kept my network config file the same as I used before.

PS. Also wicd now allows me to turn on/off wifi on my laptop when I
want. With NetworkManager, if I did not turn it on at boot time, it
was not recognized afterwards... And I also prefer its wifi
scanning/configuration, though I still do not understand why it does
not always show my AP (as if it was an hidden network).

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


NetworkManager works just fine (was: [ubuntu host] NetworkManager improvements)

2009-02-23 Thread Patrick C. F. Ernzer
Hello,

On Sun, 22 Feb 2009 21:13:17 -0500
Joel Newkirk freerun...@newkirk.us wrote:

[...]
 Has anyone else been successful with Ubuntu NetworkManager recently?
[...]

Not Ubuntu but NetworkManager in general. As said on the wiki page, one
needs to nail down the MAC address for NM to dish out the same IP.

I use the following on many boxes, so the version numbers can be off a
bit.

NetworkManager-0.7.0-1.git20090102.fc10.i386

create /usr/local/sbin/freerunner-usb-add.sh
create /etc/udev/rules.d/80-freerunner.rules
cd /etc/udev/rules.d/
chcon --reference=40-multipath.rules 80-freerunner.rules
chmod 744 freerunner-usb-add.sh
udevcontrol --reload_rules

Depending on how your firewall is set up, you may or may not have to
issue the following

iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
iptables -I FORWARD 1 -s 192.168.0.202 -j ACCEPT
iptables -I INPUT 1 -s 192.168.0.202 -j ACCEPT
echo 1  /proc/sys/net/ipv4/ip_forward

RU

PCFE
-- 
 http://www.pcfe.net/ 
 Patrick C. F. Ernzer  | e-mail: p...@pcfe.net
--go-and-make-your-own-disclaimer--+--
Damn right I'm good in bed.
I can sleep for days.


freerunner-usb-add.sh
Description: application/shellscript


80-freerunner.rules
Description: Binary data
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: NetworkManager works just fine (was: [ubuntu host] NetworkManager improvements)

2009-02-23 Thread Joel Newkirk
On Mon, 23 Feb 2009 15:35:41 +0200
Patrick C. F. Ernzer p...@pcfe.net wrote:

 Hello,
 
 On Sun, 22 Feb 2009 21:13:17 -0500
 Joel Newkirk freerun...@newkirk.us wrote:
 
 [...]
  Has anyone else been successful with Ubuntu NetworkManager recently?
 [...]
 
 Not Ubuntu but NetworkManager in general. As said on the wiki page,
 one needs to nail down the MAC address for NM to dish out the same IP.
 
 I use the following on many boxes, so the version numbers can be off a
 bit.
 
 NetworkManager-0.7.0-1.git20090102.fc10.i386
 
 create /usr/local/sbin/freerunner-usb-add.sh
 create /etc/udev/rules.d/80-freerunner.rules
 cd /etc/udev/rules.d/
 chcon --reference=40-multipath.rules 80-freerunner.rules
 chmod 744 freerunner-usb-add.sh
 udevcontrol --reload_rules
 
 Depending on how your firewall is set up, you may or may not have to
 issue the following
 
 iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
 iptables -I FORWARD 1 -s 192.168.0.202 -j ACCEPT
 iptables -I INPUT 1 -s 192.168.0.202 -j ACCEPT
 echo 1  /proc/sys/net/ipv4/ip_forward
 
 RU
 
 PCFE

Thanks. With the current Ubuntu there have been problems where NM tries
to take control of usb0 despite being told not to, or refuses to follow
manual setting within its own GUI, but also it has had problems where it
tries to point default route out usb0, or brings eth0 down and back up,
or other odd behavior. Lately most of that seems fixed. 

j


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community