Re: freebsd forgets root password

2009-10-24 Thread Kevin Kinsey

kalin m wrote:


does anybody here know if freebsd has a driver for Marvell 88E8057 nic 
chip?


according to the kernel list of drivers (7.2) marvell chips are driven 
by the msk driver. but it doesn't show up in pciconf, dmesg or 
sysinstall
strangely enough 88E8057 is not in the list in man msk. although 88E8056 
and 88E8058 are. is this just bad luck?!




No, as I mentioned earlier, it appears the driver author didn't have
or wasn't aware of this chipset.  It's quite possible, based on the
cursory glance I gave to the headers of the file, that it didn't exist
at the time it was written.  There are obviously some issues with
licensing or disclosure or what-not.

See /usr/src/dev/msk/if_msk.c, down about line 210-220 where
these are defined.  You can, I think, very carefully, attempt
to add this device to that file and rebuild your kernel, I think,
and then see if it works.  I'm thinking OOTOMH the trick would be getting
the right DEVICEID string in there.

Barring that, you might speak very sweetly to the author of the driver,
perhaps offering $BEVERAGE and detailed information about the chip, and
see if he/she would attempt to conjure up the right code to make it work.

HTH,

Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd forgets root password

2009-10-24 Thread kalin m

Kevin Kinsey wrote:

kalin m wrote:


does anybody here know if freebsd has a driver for Marvell 88E8057 
nic chip?


according to the kernel list of drivers (7.2) marvell chips are 
driven by the msk driver. but it doesn't show up in pciconf, dmesg or 
sysinstall
strangely enough 88E8057 is not in the list in man msk. although 
88E8056 and 88E8058 are. is this just bad luck?!




No, as I mentioned earlier, it appears the driver author didn't have
or wasn't aware of this chipset.  It's quite possible, based on the
cursory glance I gave to the headers of the file, that it didn't exist
at the time it was written.  There are obviously some issues with
licensing or disclosure or what-not.

See /usr/src/dev/msk/if_msk.c, down about line 210-220 where
these are defined.  You can, I think, very carefully, attempt
to add this device to that file and rebuild your kernel, I think,
and then see if it works.  I'm thinking OOTOMH the trick would be getting
the right DEVICEID string in there.

Barring that, you might speak very sweetly to the author of the driver,
perhaps offering $BEVERAGE and detailed information about the chip, and
see if he/she would attempt to conjure up the right code to make it work.


thanks kevin...   i did get an email from (i believe ) the author of the 
driver. so i'll be hopefully trying his patch on monday. and i have to 
get some files from HEAD. but it was very nice that he contacted me.  i 
had to look up OOTOMH thought...


thanks...




HTH,

Kevin Kinsey

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


freebsd forgets root password

2009-10-23 Thread kalin m



hi all 

this is really weird.
i've must have set up the root password on this new machine i got at 
least 5 times and after a few reboots this thing forgets it.

i have to go in single user and reset it again and again?!?

what can be the reason?

it'a brand new install of freebsd 7.2  amd64 (amnesiac)  ...  fits the 
name...


while i'm on here... the machine comes with an ethernet card on board 
that according to pciconf there is no driver for it. pciconf identifies 
the card as Marvell Semiconductor (was: Galileo something...) which 
according to the handbook needs the msk driver. which is in the generic 
kernel anyway. the thing is pciconf says no...@pci0:2:0:0 for that card. 
dmesg doesn't mention anything about msk. and sysinstall doesn't see 
anything either. so far so awesome...


now... the wireless card i put in. ralink technology. in the office here 
there is a simple wifi router that is protected with WPA password. if 
i get rid of the password and just use ifconfig to get to the router 
everything works ok but putting the wpa on again and using the 
supplicant things suck. ifconfig says the card is associated. and it 
gets an ip but that's pretty much all that happens. pings to a 
neighboring machine produce huge dropouts. with  85% packet loss. 
another awesomeness...  and those are pings to ips. dns is pretty much 
nowhere to be found. sysisntall has unknown network interface type for 
ral0...



so in conclusion:

what's up with the root password amnesia?
what's up with the msk driver card?
and what's up with this wpa supplicant thing?

thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd forgets root password

2009-10-23 Thread Adam Vande More
On Fri, Oct 23, 2009 at 7:56 PM, kalin m ka...@el.net wrote:



 hi all 

 this is really weird.
 i've must have set up the root password on this new machine i got at least
 5 times and after a few reboots this thing forgets it.
 i have to go in single user and reset it again and again?!?

 what can be the reason?


Couple guesses:

You keep forgetting the password
caps lock



 it'a brand new install of freebsd 7.2  amd64 (amnesiac)  ...  fits the
 name...


amnesiac is the name freebsd uses when no hostname is set.



 while i'm on here... the machine comes with an ethernet card on board that
 according to pciconf there is no driver for it. pciconf identifies the card
 as Marvell Semiconductor (was: Galileo something...) which according to the
 handbook needs the msk driver. which is in the generic kernel anyway. the
 thing is pciconf says no...@pci0:2:0:0 for that card. dmesg doesn't
 mention anything about msk. and sysinstall doesn't see anything either. so
 far so awesome...


man msk



 now... the wireless card i put in. ralink technology. in the office here
 there is a simple wifi router that is protected with WPA password. if i
 get rid of the password and just use ifconfig to get to the router
 everything works ok but putting the wpa on again and using the supplicant
 things suck. ifconfig says the card is associated. and it gets an ip but
 that's pretty much all that happens. pings to a neighboring machine produce
 huge dropouts. with  85% packet loss. another awesomeness...  and those are
 pings to ips. dns is pretty much nowhere to be found. sysisntall has
 unknown network interface type for ral0...


This has always worked well for me:

http://www.freebsd.org/doc/en/books/handbook/network-wireless.html

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd forgets root password

2009-10-23 Thread kalin m


thanks adam.


Adam Vande More wrote:
On Fri, Oct 23, 2009 at 7:56 PM, kalin m ka...@el.net 
mailto:ka...@el.net wrote:




hi all 

this is really weird.
i've must have set up the root password on this new machine i got
at least 5 times and after a few reboots this thing forgets it.
i have to go in single user and reset it again and again?!?

what can be the reason?


Couple guesses:

You keep forgetting the password
caps lock
not really...  i checked.  many times. even for num loc. which doesn't 
matter...


 



it'a brand new install of freebsd 7.2  amd64 (amnesiac)  ...  fits
the name...


amnesiac is the name freebsd uses when no hostname is set.

in this Amnesiac is the release name i think...

 



while i'm on here... the machine comes with an ethernet card on
board that according to pciconf there is no driver for it. pciconf
identifies the card as Marvell Semiconductor (was: Galileo
something...) which according to the handbook needs the msk
driver. which is in the generic kernel anyway. the thing is
pciconf says no...@pci0:2:0:0 for that card. dmesg doesn't mention
anything about msk. and sysinstall doesn't see anything either. so
far so awesome...


man msk

many times  msk should at least show in the dmesg somewhere
 



now... the wireless card i put in. ralink technology. in the
office here there is a simple wifi router that is protected with
WPA password. if i get rid of the password and just use ifconfig
to get to the router everything works ok but putting the wpa on
again and using the supplicant things suck. ifconfig says the card
is associated. and it gets an ip but that's pretty much all that
happens. pings to a neighboring machine produce huge dropouts.
with  85% packet loss. another awesomeness...  and those are pings
to ips. dns is pretty much nowhere to be found. sysisntall has
unknown network interface type for ral0...


This has always worked well for me:

http://www.freebsd.org/doc/en/books/handbook/network-wireless.html
that's where i got the wpa configuration from. also from man 
wpa_supplicant and wpa_supplicant.conf.


my conf looks like:
network={
ssid=home
scan_ssid=1
key_mgmt=WPA-PSK
psk=very secret passphrase
}

wpa_supplicant with -ddd show more and more of the same with nothing 
that helps me identify anything as a problem. just loops through the 
same sequence of information which doesn't mean much to me.




--
Adam Vande More

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd forgets root password

2009-10-23 Thread kalin m


not really...  i checked.  many times. even for num loc. which doesn't 
matter...



amnesiac is the name freebsd uses when no hostname is set.

in this Amnesiac is the release name i think...


man msk

many times  msk should at least show in the dmesg somewhere
 



now... the wireless card i put in. ralink technology. in the
office here there is a simple wifi router that is protected with
WPA password. if i get rid of the password and just use ifconfig
to get to the router everything works ok but putting the wpa on
again and using the supplicant things suck. ifconfig says the card
is associated. and it gets an ip but that's pretty much all that
happens. pings to a neighboring machine produce huge dropouts.
with  85% packet loss. another awesomeness...  and those are pings
to ips. dns is pretty much nowhere to be found. sysisntall has
unknown network interface type for ral0...


This has always worked well for me:

http://www.freebsd.org/doc/en/books/handbook/network-wireless.html
that's where i got the wpa configuration from. also from man 
wpa_supplicant and wpa_supplicant.conf.


my conf looks like:
network={
ssid=home
scan_ssid=1
key_mgmt=WPA-PSK
psk=very secret passphrase
}

wpa_supplicant with -ddd show more and more of the same with nothing 
that helps me identify anything as a problem. just loops through the 
same sequence of information which doesn't mean much to me.



on this one:
wpa_supplicant -K -i ral0 -c /etc/wpa_supplicant.conf

i just get:
Trying to associate with MA:CA:DD:RE:SS (ssid=home freq=2432 mhz)
Associated with MA:CA:DD:RE:SS
CTRL-EVENT-DESCONNECTED - Disconnect event - remove keys
and again and again and again...  i'm typing this

i get the idea. disconnected. why?










--
Adam Vande More

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd forgets root password

2009-10-23 Thread James Phillips


 Date: Fri, 23 Oct 2009 20:46:03 -0500
 From: Adam Vande More amvandem...@gmail.com
 Subject: Re: freebsd forgets root password
 To: kalin m ka...@el.net
 Cc: freebsd-questions freebsd-questions@freebsd.org
 Message-ID:
     6201873e0910231846j4386baa9g3bd3eab21fed1...@mail.gmail.com
 Content-Type: text/plain; charset=ISO-8859-1
 
 On Fri, Oct 23, 2009 at 7:56 PM, kalin m ka...@el.net
 wrote:
 
 
 
  hi all 
 
  this is really weird.
  i've must have set up the root password on this new
 machine i got at least
  5 times and after a few reboots this thing forgets
 it.
  i have to go in single user and reset it again and
 again?!?
 
  what can be the reason?
 
 
 Couple guesses:
 
 You keep forgetting the password
 caps lock
 
On my BSD server, I have a keyboard with a failing shift key. This means if I 
touch-type the password one day, and huntpeck the next, the result is not 
the same.

With how flimsy the entry-level keyboards are these days, it may be *almost* as 
likely ;)

Regards,

James Phillips



  __
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd forgets root password

2009-10-23 Thread Polytropon
On Fri, 23 Oct 2009 22:15:19 -0400, kalin m ka...@el.net wrote:
 Adam Vande More wrote:
  man msk
 many times  msk should at least show in the dmesg somewhere

If you have if_msk_load=YES in /boot/loader.conf, it should.
A message for dmesg is issued at the moment the driver is
loaded successfully. Is your particular card listed in the
manual's section HARDWARE?


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd forgets root password

2009-10-23 Thread Polytropon
On Fri, 23 Oct 2009 19:41:31 -0700 (PDT), James Phillips 
anti_spam...@yahoo.ca wrote:
 With how flimsy the entry-level keyboards are these days,
 it may be *almost* as likely ;)

Entry level? Ha! All modern keyboards... :-)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd forgets root password

2009-10-23 Thread kalin m



Polytropon wrote:

On Fri, 23 Oct 2009 22:15:19 -0400, kalin m ka...@el.net wrote:
  

Adam Vande More wrote:


man msk
  

many times  msk should at least show in the dmesg somewhere



If you have if_msk_load=YES in /boot/loader.conf, it should.
A message for dmesg is issued at the moment the driver is
loaded successfully. Is your particular card listed in the
manual's section HARDWARE?

  
i did have that but it complain that it's already loaded. so i took that 
off.  after a bit more research i just sent this to the net list:



does anybody here know if freebsd has a driver for Marvell 88E8057 nic 
chip?


according to the kernel list of drivers (7.2) marvell chips are driven 
by the msk driver. but it doesn't show up in pciconf, dmesg or 
sysinstall
strangely enough 88E8057 is not in the list in man msk. although 88E8056 
and 88E8058 are. is this just bad luck?!



thanks Polytropon... 




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd forgets root password

2009-10-23 Thread kalin m


Polytropon wrote:

On Fri, 23 Oct 2009 19:41:31 -0700 (PDT), James Phillips 
anti_spam...@yahoo.ca wrote:
  

With how flimsy the entry-level keyboards are these days,
it may be *almost* as likely ;)



Entry level? Ha! All modern keyboards... :-)

  
actually the one i'm using was entry-level maybe about 15 years ago...   
it's called Turbo-Xwin. it's about to be on it's exit level   
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd forgets root password

2009-10-23 Thread Kevin Kinsey

kalin m wrote:



hi all 

this is really weird.
i've must have set up the root password on this new machine i got at 
least 5 times and after a few reboots this thing forgets it.

i have to go in single user and reset it again and again?!?

what can be the reason?


Can you clarify a bit?  Do you mean, after rebooting I can get
in without a password, or, after rebooting it refuses the password
I type, or something else?  Are you logging into the console, or
into something like xdm/gdm?  What about normal (non-root) accounts,
do they also have this problem?

And, for that matter, why have you done a few reboots?  This
isn't Windoze ;-)

 while i'm on here... the machine comes with an ethernet card

snip

Sounds like, possibly, a newer variant of the device?  Occasionally
a manufacturer makes a new variation on a chip/device and the FBSD
driver doesn't recognize it.  If you can get the thing to work, or
maybe use another card and update, it just might.  Can't say for
sure, but you might check the CVS Web Interface for changes to
the msk(4) driver in the last $n months.

At any rate, the suggestion to read the manpage for msk(4) isn't
a bad one.  It could be that you need to add a KLD to loader.conf
or something ... at the very least, it should say what variants
are expected to work with msk(4).

HTH,

Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org