|
View:
New views
18 Messages
—
Rating Filter:
Alert me
|
|
|
Gumstix AutoLoginHi,
I have a Gumstix Connex 400, perfectly working. My problem is that I would be able to bypass the login or just have an automatic login script. Basically, I don't want to write username and password everytime I turn on the Gumstix. Is it possible? I'm a newbie and any help would be great. Thanks! |
|
|
Re: Gumstix AutoLoginsmok wrote:
> Hi, > I have a Gumstix Connex 400, perfectly working. My problem is that I would > be able to bypass the login or just have an automatic login script. > Basically, I don't want to write username and password everytime I turn on > the Gumstix. > Is it possible? I'm a newbie and any help would be great. > > Thanks! > you can create a file named: /etc/rc.local to start a shell without a password: ################################### #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # # In order to enable or disable this script just change the execution # bits. # /bin/su - root -c /bin/sh ################################### I think there are much better ways for an autologin, but this way works well for me :-) Olli ------------------------------------------------------------------------------ _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: Gumstix AutoLoginThanks, it worked!
|
|
|
Re: Gumstix AutoLoginThis way does not work on my verdex 400 bt. It seems the verdex does not load rc.local even after I created the file and chmod to 777 because echo statement did not show up. What should I do to bypass login ?
Thanks, Lee |
|
|
Re: Gumstix AutoLoginyup wrote:
> This way does not work on my verdex 400 bt. What should I do to bypass login > ? > > > Thanks, > > Lee > Try this: chmod 755 /etc/rc.local :-) ------------------------------------------------------------------------------ _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: Gumstix AutoLoginIt does not work. There was no such rc.local file in my filesystem. I created it and chmod to both 777 and 755.
|
|
|
Re: Gumstix AutoLoginCould you do me a favor to send me a list of files you modified for bypassing the login?
I tried another gumstix, the method does not work either. Thanks, Lee
|
|
|
Re: Gumstix AutoLoginyup wrote:
> Could you do me a favor to send me a list of files you modified for bypassing > the login? > I tried another gumstix, the method does not work either. > Ok, what kind of console are you using to Login: Seriell/Terminal/Bootconsole (rc.local / su) LCD/Keyboard (rc.local / openvt / su) SSH/Network (~/.ssh/authorized_keys) ??? > Thanks, > > Lee > > smok wrote: > >> Hi, >> I have a Gumstix Connex 400, perfectly working. My problem is that I would >> be able to bypass the login or just have an automatic login script. >> Basically, I don't want to write username and password everytime I turn on >> the Gumstix. >> Is it possible? I'm a newbie and any help would be great. >> >> Thanks! >> >> > > ------------------------------------------------------------------------------ _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: Gumstix AutoLoginI login via the middle serial port on Console board.
|
|
|
Re: Gumstix AutoLoginyup wrote:
> I login via the middle serial port on Console board. > what's your boot-console ? > > Oliver Dippel wrote: > >> yup wrote: >> >>> Could you do me a favor to send me a list of files you modified for >>> bypassing >>> the login? >>> I tried another gumstix, the method does not work either. >>> >>> >> Ok, >> what kind of console are you using to Login: >> >> Seriell/Terminal/Bootconsole (rc.local / su) >> LCD/Keyboard (rc.local / openvt / su) >> SSH/Network (~/.ssh/authorized_keys) >> >> ??? >> >> >> >> >>> Thanks, >>> >>> Lee >>> >>> smok wrote: >>> >>> >>>> Hi, >>>> I have a Gumstix Connex 400, perfectly working. My problem is that I >>>> would >>>> be able to bypass the login or just have an automatic login script. >>>> Basically, I don't want to write username and password everytime I turn >>>> on >>>> the Gumstix. >>>> Is it possible? I'm a newbie and any help would be great. >>>> >>>> Thanks! >>>> >>>> >>>> >>> >>> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> gumstix-users mailing list >> gumstix-users@... >> https://lists.sourceforge.net/lists/listinfo/gumstix-users >> >> >> > > ------------------------------------------------------------------------------ _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: Gumstix AutoLoginDid you mean the u-boot? Mine is 1.2.0 200Mhz 1603
Thanks
|
|
|
Re: Gumstix AutoLoginyup wrote:
> Did you mean the u-boot? Mine is 1.2.0 200Mhz 1603 > > Thanks > > No, i mean your Boot-Messages 'console=tty?' $ cat /proc/cmdline Olli > Oliver Dippel wrote: > >> yup wrote: >> >>> I login via the middle serial port on Console board. >>> >>> >> what's your boot-console ? >> >> >>> Oliver Dippel wrote: >>> >>> >>>> yup wrote: >>>> >>>> >>>>> Could you do me a favor to send me a list of files you modified for >>>>> bypassing >>>>> the login? >>>>> I tried another gumstix, the method does not work either. >>>>> >>>>> >>>>> >>>> Ok, >>>> what kind of console are you using to Login: >>>> >>>> Seriell/Terminal/Bootconsole (rc.local / su) >>>> LCD/Keyboard (rc.local / openvt / su) >>>> SSH/Network (~/.ssh/authorized_keys) >>>> >>>> ??? >>>> >>>> >>>> >>>> >>>> >>>>> Thanks, >>>>> >>>>> Lee >>>>> >>>>> smok wrote: >>>>> >>>>> >>>>> >>>>>> Hi, >>>>>> I have a Gumstix Connex 400, perfectly working. My problem is that I >>>>>> would >>>>>> be able to bypass the login or just have an automatic login script. >>>>>> Basically, I don't want to write username and password everytime I >>>>>> turn >>>>>> on >>>>>> the Gumstix. >>>>>> Is it possible? I'm a newbie and any help would be great. >>>>>> >>>>>> Thanks! >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> ------------------------------------------------------------------------------ >>>> _______________________________________________ >>>> gumstix-users mailing list >>>> gumstix-users@... >>>> https://lists.sourceforge.net/lists/listinfo/gumstix-users >>>> >>>> >>>> >>>> >>> >>> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> gumstix-users mailing list >> gumstix-users@... >> https://lists.sourceforge.net/lists/listinfo/gumstix-users >> >> >> > > ------------------------------------------------------------------------------ _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: Gumstix AutoLoginIt is ttyS0
I cat the file cmdline, console=ttyS0,115200n8 root=1f01 rootfstype=jffs2 reboot=cold,hard Thanks, Lee
|
|
|
Re: Gumstix AutoLoginyup wrote:
> It is ttyS0 > I cat the file cmdline, > > console=ttyS0,115200n8 root=1f01 rootfstype=jffs2 reboot=cold,hard > > Thanks, > > Lee > Hmmm, i don't know, it must work ;( Please put this: echo "### Hallo1 ###" echo "### Hallo2 ###" > /dev/ttyS0 in your 'rc.local' Script, to test the execution on bootup. Olli > > Oliver Dippel wrote: > >> yup wrote: >> >>> Did you mean the u-boot? Mine is 1.2.0 200Mhz 1603 >>> >>> Thanks >>> >>> >>> >> No, i mean your Boot-Messages 'console=tty?' >> >> $ cat /proc/cmdline >> >> >> >> Olli >> >> >> >> >>> Oliver Dippel wrote: >>> >>> >>>> yup wrote: >>>> >>>> >>>>> I login via the middle serial port on Console board. >>>>> >>>>> >>>>> >>>> what's your boot-console ? >>>> >>>> >>>> >>>>> Oliver Dippel wrote: >>>>> >>>>> >>>>> >>>>>> yup wrote: >>>>>> >>>>>> >>>>>> >>>>>>> Could you do me a favor to send me a list of files you modified for >>>>>>> bypassing >>>>>>> the login? >>>>>>> I tried another gumstix, the method does not work either. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> Ok, >>>>>> what kind of console are you using to Login: >>>>>> >>>>>> Seriell/Terminal/Bootconsole (rc.local / su) >>>>>> LCD/Keyboard (rc.local / openvt / su) >>>>>> SSH/Network (~/.ssh/authorized_keys) >>>>>> >>>>>> ??? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> Thanks, >>>>>>> >>>>>>> Lee >>>>>>> >>>>>>> smok wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Hi, >>>>>>>> I have a Gumstix Connex 400, perfectly working. My problem is that I >>>>>>>> would >>>>>>>> be able to bypass the login or just have an automatic login script. >>>>>>>> Basically, I don't want to write username and password everytime I >>>>>>>> turn >>>>>>>> on >>>>>>>> the Gumstix. >>>>>>>> Is it possible? I'm a newbie and any help would be great. >>>>>>>> >>>>>>>> Thanks! >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> _______________________________________________ >>>>>> gumstix-users mailing list >>>>>> gumstix-users@... >>>>>> https://lists.sourceforge.net/lists/listinfo/gumstix-users >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> ------------------------------------------------------------------------------ >>>> _______________________________________________ >>>> gumstix-users mailing list >>>> gumstix-users@... >>>> https://lists.sourceforge.net/lists/listinfo/gumstix-users >>>> >>>> >>>> >>>> >>> >>> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> gumstix-users mailing list >> gumstix-users@... >> https://lists.sourceforge.net/lists/listinfo/gumstix-users >> >> >> > > ------------------------------------------------------------------------------ _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: Gumstix AutoLoginIt seems the rc.local file does not run at boot up. No echo appears.
is it the correct position? /etc/rc.local cuz I created the rc.local myself on Gumstix 400 bt though I found it on other linux. Thanks, Lee
|
|
|
Re: Gumstix AutoLoginyup wrote:
> It seems the rc.local file does not run at boot up. No echo appears. > is it the correct position? > /etc/rc.local > cuz I created the rc.local myself on Gumstix 400 bt though I found it on > other linux. > The Path is correct, check your Permissions: $ls -l /etc/rc.local -rwxr-xr-x 1 root root 343 Aug 19 13:34 /etc/rc.local I think it must be owned by 'root': $ chown root:root /etc/rc.local and executable: $ chmod 755 /etc/rc.local OK, a better way is to create an 'init script': echo "#!/bin/sh" > /etc/init.d/autologin echo "/bin/su - root -c /bin/sh" >> /etc/init.d/autologin chown root:root /etc/init.d/autologin chmod 755 /etc/init.d/autologin and link it to /etc/rc5.d/S99autologin: ln -sf ../init.d/autologin /etc/rc5.d/S99autologin Olli > Thanks, > > Lee > > Oliver Dippel wrote: > >> yup wrote: >> >>> It is ttyS0 >>> I cat the file cmdline, >>> >>> console=ttyS0,115200n8 root=1f01 rootfstype=jffs2 reboot=cold,hard >>> >>> Thanks, >>> >>> Lee >>> >>> >> Hmmm, >> i don't know, >> it must work ;( >> >> Please put this: >> >> echo "### Hallo1 ###" >> echo "### Hallo2 ###" > /dev/ttyS0 >> >> in your 'rc.local' Script, >> to test the execution on bootup. >> >> Olli >> >> >> >> >>> Oliver Dippel wrote: >>> >>> >>>> yup wrote: >>>> >>>> >>>>> Did you mean the u-boot? Mine is 1.2.0 200Mhz 1603 >>>>> >>>>> Thanks >>>>> >>>>> >>>>> >>>>> >>>> No, i mean your Boot-Messages 'console=tty?' >>>> >>>> $ cat /proc/cmdline >>>> >>>> >>>> >>>> Olli >>>> >>>> >>>> >>>> >>>> >>>>> Oliver Dippel wrote: >>>>> >>>>> >>>>> >>>>>> yup wrote: >>>>>> >>>>>> >>>>>> >>>>>>> I login via the middle serial port on Console board. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> what's your boot-console ? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> Oliver Dippel wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> yup wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> Could you do me a favor to send me a list of files you modified for >>>>>>>>> bypassing >>>>>>>>> the login? >>>>>>>>> I tried another gumstix, the method does not work either. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> Ok, >>>>>>>> what kind of console are you using to Login: >>>>>>>> >>>>>>>> Seriell/Terminal/Bootconsole (rc.local / su) >>>>>>>> LCD/Keyboard (rc.local / openvt / su) >>>>>>>> SSH/Network (~/.ssh/authorized_keys) >>>>>>>> >>>>>>>> ??? >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> Thanks, >>>>>>>>> >>>>>>>>> Lee >>>>>>>>> >>>>>>>>> smok wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>> Hi, >>>>>>>>>> I have a Gumstix Connex 400, perfectly working. My problem is that >>>>>>>>>> I >>>>>>>>>> would >>>>>>>>>> be able to bypass the login or just have an automatic login >>>>>>>>>> script. >>>>>>>>>> Basically, I don't want to write username and password everytime I >>>>>>>>>> turn >>>>>>>>>> on >>>>>>>>>> the Gumstix. >>>>>>>>>> Is it possible? I'm a newbie and any help would be great. >>>>>>>>>> >>>>>>>>>> Thanks! >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> ------------------------------------------------------------------------------ >>>>>>>> _______________________________________________ >>>>>>>> gumstix-users mailing list >>>>>>>> gumstix-users@... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/gumstix-users >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> _______________________________________________ >>>>>> gumstix-users mailing list >>>>>> gumstix-users@... >>>>>> https://lists.sourceforge.net/lists/listinfo/gumstix-users >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> ------------------------------------------------------------------------------ >>>> _______________________________________________ >>>> gumstix-users mailing list >>>> gumstix-users@... >>>> https://lists.sourceforge.net/lists/listinfo/gumstix-users >>>> >>>> >>>> >>>> >>> >>> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> gumstix-users mailing list >> gumstix-users@... >> https://lists.sourceforge.net/lists/listinfo/gumstix-users >> >> >> > > ------------------------------------------------------------------------------ _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: Gumstix AutoLoginI tried both ways.
The first way seems doing nothing. The second way, first, Gumstix returns a "does not have permission to file" etc. then, i chown and chmod manually.Bootup does not report an error but still ask for usrname and pwd. I checked autologin script and S99autologin. both show #!/bin/sh /bin/su - root -c /bin/sh I do not know why the bootup always ignore the command in script. Thanks, Lee
|
|
|
Re: Gumstix AutoLoginhi, i have the same problem. can you pls help me for vertex best regards mojahid
|
| Free embeddable forum powered by Nabble | Forum Help |