x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

NetBSD on NEC MobilePro 790 - Install Issue

« Prev 1 2 3 4 5 6 7 8 9 10 11 12 ... Next »
thenzero Page Icon Posted 2022-12-27 10:47 PM
#
Avatar image of thenzero
Subscribers
H/PC Elite

Posts:
744
Location:
United States
Status:
To wpa_supplicant.conf I would add:

network={
ssid="Guest"
scan_ssid=1
key_mgmt=NONE
}

and restart wpa_supplicant (or reboot). See where that gets you.
 Top of the page
ArchiMark Page Icon Posted 2022-12-27 11:02 PM
#
Avatar image of ArchiMark
Subscribers
H/PC Sensei

Posts:
1,195
Location:
Silicon Valley
Status:
Thanks, did all that....

And rebooted....then did wpa_cli status and got

Selected interface 'wi0'
wpa_state=SCANNING
ip address=0.0.0.0

What next, chief?

PS. I get error message about valid_hostname: empty hostname...any way to fix?

also, get message saying to update date and time....

Thanks!
 Top of the page
thenzero Page Icon Posted 2022-12-27 11:21 PM
#
Avatar image of thenzero
Subscribers
H/PC Elite

Posts:
744
Location:
United States
Status:
It doesn't change after a few seconds? Just keeps showing "SCANNING"?

The ip address isn't surprising, it looks like it hasn't yet associated with the access point. As a quick sanity check, have you been able to connect to the office network with the ambicom card from Windows CE? If so, there's probably just a setting we're missing.

For the hostname error, it just wants you to add a hostname to rc.conf. Quickest way to shake that is to do something like:

# echo marksnec790 > /etc/myname

As far as the time, I think the funky time when booting may be a side effect of the way netbsd is booted on these devices. The internal time is being reset to something silly (whatever the Windows CE default is...something in 1999 or whatever) every time you boot, and then NetBSD assumes the time is August 4 22:30:04 UTC 2022 based on some file time. I think you just have to set the time every time you boot (once you have network configured, you can probably configure netbsd to set the time from a network source and then just ignore the error).
 Top of the page
thenzero Page Icon Posted 2022-12-27 11:24 PM
#
Avatar image of thenzero
Subscribers
H/PC Elite

Posts:
744
Location:
United States
Status:
So, once you have network connected up properly, adding "ntpdate=true" to /etc/rc.conf will cause NetBSD to get the time from the net.

From the man page:

ntpdate Boolean value. Runs ntpdate(8) to set the system time
from one of the hosts in ntpdate_hosts. If ntpdate_hosts
is empty, it will attempt to find a list of hosts in
/etc/ntp.conf. Passes ntpdate_flags.
 Top of the page
ArchiMark Page Icon Posted 2022-12-27 11:33 PM
#
Avatar image of ArchiMark
Subscribers
H/PC Sensei

Posts:
1,195
Location:
Silicon Valley
Status:
Quote
thenzero - 2022-12-27 3:21 PM

It doesn't change after a few seconds? Just keeps showing "SCANNING"?


Nope....after it showed line 'SCANNING' it returned to a new prompt line.


Quote

The ip address isn't surprising, it looks like it hasn't yet associated with the access point. As a quick sanity check, have you been able to connect to the office network with the ambicom card from Windows CE? If so, there's probably just a setting we're missing.


I didn't try that.....guess I should....if I can get card working there....


Quote

For the hostname error, it just wants you to add a hostname to rc.conf. Quickest way to shake that is to do something like:

# echo marksnec790 > /etc/myname


Thanks for the info....

Quote

As far as the time, I think the funky time when booting may be a side effect of the way netbsd is booted on these devices. The internal time is being reset to something silly (whatever the Windows CE default is...something in 1999 or whatever) every time you boot, and then NetBSD assumes the time is August 4 22:30:04 UTC 2022 based on some file time. I think you just have to set the time every time you boot (once you have network configured, you can probably configure netbsd to set the time from a network source and then just ignore the error).



Actually, what's surprising is that it says date is:
Mon Dec 26 00:28:37 PST 2022

So, somehow, pretty darn close and I have been connected to the net with 790.....



UPDATE

Rebooted and mostly good now...get message about date and time....and the following:

dhclient_flags--nw: not found

Also, get
postfix: rebuilding /etc/mail/aliases (missing /etc/mail/aliases.db
postfix/postfix-script: starting the Postfix mail system






Edited by ArchiMark 2022-12-27 11:40 PM
 Top of the page
thenzero Page Icon Posted 2022-12-27 11:37 PM
#
Avatar image of thenzero
Subscribers
H/PC Elite

Posts:
744
Location:
United States
Status:
Huh. That's slightly in the future. I guess it's just misinterpreting the clock as UTC maybe...try adding this to /etc/rc.conf:

rtclocaltime = true

EDIT: lol I didn't notice the date was yesterday. But, same advice as given.

Edited by thenzero 2022-12-27 11:37 PM
 Top of the page
thenzero Page Icon Posted 2022-12-27 11:38 PM
#
Avatar image of thenzero
Subscribers
H/PC Elite

Posts:
744
Location:
United States
Status:
Quote
ArchiMark - 2022-12-27 11:33 PM

Nope....after it showed line 'SCANNING' it returned to a new prompt line.



Try running the command again after a few seconds and see if it has updated (or just do ifconfig and see if it lists an ssid for wi0).
 Top of the page
thenzero Page Icon Posted 2022-12-27 11:39 PM
#
Avatar image of thenzero
Subscribers
H/PC Elite

Posts:
744
Location:
United States
Status:
Also, try a quick "ifconfig wi0 up" and then "ifconfig" and see if that gives you an ssid...
 Top of the page
ArchiMark Page Icon Posted 2022-12-27 11:43 PM
#
Avatar image of ArchiMark
Subscribers
H/PC Sensei

Posts:
1,195
Location:
Silicon Valley
Status:
Quote
thenzero - 2022-12-27 3:37 PM

Huh. That's slightly in the future. I guess it's just misinterpreting the clock as UTC maybe...try adding this to /etc/rc.conf:

rtclocaltime = true

EDIT: lol I didn't notice the date was yesterday. But, same advice as given.


OK, will try that....thanks.
 Top of the page
ArchiMark Page Icon Posted 2022-12-27 11:44 PM
#
Avatar image of ArchiMark
Subscribers
H/PC Sensei

Posts:
1,195
Location:
Silicon Valley
Status:
Quote
thenzero - 2022-12-27 3:38 PM

Quote
ArchiMark - 2022-12-27 11:33 PM

Nope....after it showed line 'SCANNING' it returned to a new prompt line.



Try running the command again after a few seconds and see if it has updated (or just do ifconfig and see if it lists an ssid for wi0).


Nope, same info as before and then returns to new prompt....
 Top of the page
ArchiMark Page Icon Posted 2022-12-27 11:45 PM
#
Avatar image of ArchiMark
Subscribers
H/PC Sensei

Posts:
1,195
Location:
Silicon Valley
Status:
Quote
thenzero - 2022-12-27 3:39 PM

Also, try a quick "ifconfig wi0 up" and then "ifconfig" and see if that gives you an ssid...



Bingo!

It now show ssid 'Guest'.....
 Top of the page
thenzero Page Icon Posted 2022-12-27 11:57 PM
#
Avatar image of thenzero
Subscribers
H/PC Elite

Posts:
744
Location:
United States
Status:
Yeah! Awesome
 Top of the page
ArchiMark Page Icon Posted 2022-12-28 12:00 AM
#
Avatar image of ArchiMark
Subscribers
H/PC Sensei

Posts:
1,195
Location:
Silicon Valley
Status:
Thanks, another step forward I assume...

but still need to connect to net....

So, assume I need to open a browser to get to captive portal page where you click the button to connect to guest network....

Is there browser included that would work for this?

Meanwhile, I booted back in WinCe...window pops up asking me for driver name...

When I open network configuration, i only lists 3 drivers installed on device. None say Ambicom....so, guess this means I'd have to find driver and install it on 790, right?

 Top of the page
thenzero Page Icon Posted 2022-12-28 1:19 AM
#
Avatar image of thenzero
Subscribers
H/PC Elite

Posts:
744
Location:
United States
Status:
Quote
ArchiMark - 2022-12-28 12:00 AM

Thanks, another step forward I assume...

but still need to connect to net....

So, assume I need to open a browser to get to captive portal page where you click the button to connect to guest network....

Is there browser included that would work for this?

Meanwhile, I booted back in WinCe...window pops up asking me for driver name...

When I open network configuration, i only lists 3 drivers installed on device. None say Ambicom....so, guess this means I'd have to find driver and install it on 790, right?



Definitely...a big one.

OK you've got an SSID. Did it also get a DHCP lease from the router?

I'm not aware of a browser included with the base install.

You're definitely outside my area of expertise with that last question (and I don't know exactly which card you have), but there do appear to be some ambicom cards in the SCL that are listed as compatible with driver downloads available.

 Top of the page
torch Page Icon Posted 2022-12-28 1:36 AM
#
Avatar image of torch
Subscribers
H/PC Guru

Posts:
5,663
Location:
United States 
Status:
Quote
ArchiMark - 2022-12-27 5:00 PM

When I open network configuration, i only lists 3 drivers installed on device. None say Ambicom....so, guess this means I'd have to find driver and install it on 790, right?


See if the model number of the exact one you have is in the HCL. If it’s not, write us the model number and we can see if there’s another card that has the same chipset and you can use its driver and thus provide the driver name upon insertion.
Example: if the cab file installs a dll called “ambicom22223.dll”
Write in ambicom22223 when it asks for a driver name upon PC Card insertion into device
 Top of the page
« Prev 1 2 3 4 5 6 7 8 9 10 11 12 ... Next »
Jump to forum:
Seconds to generate: 0.218 - Cached queries : 72 - Executed queries : 9