Hi Juanje,

Thank you very much for your advice.  Taken into account the Christmas, your 
response is actually very fast. 

I tried to modify directly on my device and restart the networking(sudo 
/etc/init.d/networking restart).

However, I get the following error:

Error for wireless request "Set Encode" (8B2A) :
  SET failed on device eth0 ; Operation not permitted.
Error for wireless request "Set ESSID" (8B1A0) :
  SET failed on device eth0 ; Connection refused.

Here is the content of my /etc/network/interfaces:

auto eth0
iface lo inet loopback
iface eth0 inet dhcp
  wireless-essid (my network SSID)
  wireless-key s:(my network WPA security key)
  wireless-keymode restricted
  wireless-mode managed
  wireless-nick (a nick name that I give to the profile)
  
Any idea?

Thanks,
Anthony

--- On Fri, 12/26/08, Juan Jesús Ojeda Croissier <[email protected]> wrote:

> From: Juan Jesús Ojeda Croissier <[email protected]>
> Subject: Re: [Moblin Dev] How to save wifi connection profile
> To: [email protected]
> Cc: [email protected]
> Date: Friday, December 26, 2008, 12:42 PM
> Hi, Anthony, sorry for not answering before. Xtmas time, you
> know... :-)
> 
> On Tue, Dec 23, 2008 at 10:40 PM, Anthony Wong
> <[email protected]> wrote:
> > Hi,
> >
> > I'm trying to build a moblin image for my Compal
> Jax10.  I choose the following platform and fset:
> >
> > Platform: menlow-lpia-ubuntu-hardy-jax10-snapshot1
> > Fset:
> crownbeach-full-mobile-stack-with-proprietary-stuff
> >
> > Can anyone please tell me how to save my wifi
> connection set-up to a profile, so that I don't need to
> enter the SSID, security type and pass phrase every time I
> reboot my Jax10?
> >
> 
> Well, I guess that you need is just add your entry on
> /etc/network/interfaces (man interfaces). Something like:
> 
> auto wlan0
> 
> iface wlan0 inet dhcp
>    wireless-essid YOUR_ESSID
>    wireless-key YOUR_PASS
> 
> 
> NOTES:
>  * I assume wlan0 is your interface, but could be ath0,
> wifi0 or so.
>  * If your pass is ASCII, then put 's:' just at the
> begining:
> 
>     wireless-key  2F502D00A1      (for hex)
>     wireless-key  s:mypassword    (for passphrase or ASCII
> one)
> 
> See examples on:
> /usr/share/doc/wireless-tools/README.Debian from
> 'wireless-tools' package.
> 
> I hope this help.
> 
> Greetings
> 
> PS: BTW, this must be added on the
> '/etc/network/interfaces' file from
> the sources. I mean, It must be written using the Terminal
> from  MIC
> or writting directly inside of the 'fs' directory
> of your target.
> -- 
> Juanje




_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on 
http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to