Friday, December 18, 2009
3com 3C200-T Gigabit network card (tcge)
http://dlsvr01.asus.com/pub/ASUS/lan/3com/3c940/046_Solaris.zip
Just follow the instructions provided and your NIC will be recognized and fully functional.
Monday, September 28, 2009
Wireless using WUSB54GC (usb13b1,20)
It was now quite easy to get it up and running
If no wired link is available, a scan for wireless LANs is done, and the resulting list offered via a GUI popup window prompts the console user to select a preference. If a successful connection is made, the WLAN in question is stored in the plain text file /etc/nwam/known_wifi_nets and the daemon may connect to any WLAN in that list without prompting the user again. If a user wishes to add other preferences or revoke existing ones, he can do so by bringing up the NWAM Manager menu with right-click on the icon, and then selecting "Manage Favorite Wireless Networks...". A user can also edit the known_wifi_nets file directly. This interface is volatile and might change in a future release
admin@opensolaris:/etc/nwam# more known_wifi_nets
denver 0:18:39:ad:ce:36
Note: My network was recognized after I enabled broadcast again on the wireless modem and choosing the option within the Gui of NWAM to put wireless as preferred connection.
/etc/nwam/llp contains:
admin@opensolaris:/etc/nwam# more llp
bge0 static 10.0.0.4/24
rum0 static 10.0.0.10/24
In order to have wireless standard as preferred put rum0 first in llp after bge0
Helpful commands:
ifconfig -a
dladm show-wifi
dladm scan-wifi
dladm show-secobj
(Note: I removed all the profiles with dladm delete-secobj)
svcadm restart nwam
Saturday, September 5, 2009
WUSB54GC wireless USB stick (usb1737,77)
In order to get wireless working I tried several things, so far not successful.
According to other bloggers I have a new version based on Ralink RT3090
Information I gathered so far:
To find out which usb devices are connected run as root:
# echo ::prtusb | mdb -k
INDEX DRIVER INST NODE VID.PID PRODUCT
1 ehci 0 pci1043,82e2 0000.0000 No Product String
2 ehci 1 pci1043,82e2 0000.0000 No Product String
3 ohci 0 pci1043,82e2 0000.0000 No Product String
4 ohci 1 pci1043,82e2 0000.0000 No Product String
5 usb_mid 0 device 413c.2003 DELL USB Keyboard
6 hid 2 mouse 046d.c03d USB-PS/2 Optical Mouse
7 usb_mid 1 device 1737.0077 802.11 g WLAN
> 7 usb_mid 1 device 1737.0077 802.11 g wlan
Hmm, this device is new version, which is a Ralink 3090 chipset,
#modinfo
#devfsadm -i
#dmesg | grep Ralink
SUNWural
Package SUNWural didn't work so I removed package
SUNWrum
Also tried with SUNWrum package (rum driver) but no.
# update_drv -a -i "usb1737,77" rum
# ifconfig rum0 plumb
From Ubuntu Forum: Problem solved! idea
I have to rename /etc/Wireless/RT3090STA to /etc/Wireless/RT2860STA
Although it is a RT3090 driver, it uses RT2860 as its internal reference. confused2
Anyway, I can connect to the Internet with no problem now.
#iwconfig to configure it
nwam will configure interface automatically (NetWork Auto Magic = Standard on opensolaris)
Note that in auto-magic mode, there is a limitation that only one link is active at a time. This mode is thus not recommended for machines which use more than one link at once. For machines with wired and wireless links, wired is preferred by default, although this can be adjusted by altering the order of the lines in the plain text file /etc/nwam/llp. Note, however, that this interface is Volatile and may change in a future release.
===============================================
By hand:
export PAGER='less'
man dladm
cat > /tmp/mykey
mykey123
^D (Ctrl + D / EOF)
create-secobj -c wpa -f /tmp/mykey mykey
scan-wifi
connect-wifi -e myap -s wpa -a open -m g -k mykey
dladm show-wifi
dladm disconnect-wifi
==================================================
# Linksys WUSB54GC
DEVICE=wlan0
BOOTPROTO=none
HWADDR=xx:xx:xx:xx:xx:xx
ONBOOT=yes
TYPE=Wireless
USERCTL=yes
PEERDNS=yes
NETMASK=255.255.255.0
IPADDR=192.168.1.4
GATEWAY=192.168.1.254
ESSID=xxx
CHANNEL=1
MODE=Master
And my wpa_supplicant.conf:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=1
network={
ssid="xxx"
bssid=xx:xx:xx:xx:xx:xx
mode=0
key_mgmt=WPA-PSK
proto=WPA
auth_alg=OPEN
pairwise=TKIP
psk="xxx"
}
Asus M4N78pro with MCP78S connect to the internet with nge
To get out of this "catch 22" you can use nge as the driver for the NIC.
For this you don't need a compiler. After you are connected to the internet you can download gcc compiler and the preferred nfo driver.
Lets inform the system to let nge handle the device
#pfexec update_drv -a -i "pci10de,760" nge
(or add nge "pci10de,760" to /etc/driver_aliases)
#pfexec ifconfig nge0 plumb
#ifconfig -a showed nge0
nge needs just a little tweaking to work
your ethernet address is probably reversed (it's what I have)
so do as root
#ifconfig nge0 ether
ether 5:3c:db:21:19:0
now just reverse the order of the words delimited by : (do not totally reverse character by character)
and restart dhcp
#ifconfig nge0 ether 0:19:21:db:3c:5
#ifconfig nge0 dhcp start
I decided to use static IP:
echo "10.0.0.138" > /etc/defaultrouter (IP of your router)
echo "10.0.0.0 255.255.255.0" > /etc/netmasks
edit /etc/resolv.conf (DNS from your provider)
nameserver 195.121.1.34
nameserver 195.121.1.66
Switch to using the DNS servers...
dawbckup:/etc# cp nsswitch.conf nsswitch.conf.original
dawbckup:/etc# cp nsswitch.dns nsswitch.conf
dawbckup:/etc# svcadm restart svc:/network/dns/client:default
Step 4: Switch to a static IP
# vi /etc/nwam/llp
change the 'nge0 dhcp' to 'nge0 static 10.0.0.3/24'
svcadm restart svc:/network/physical:nwam
step5.
edit /etc/hosts
add 10.0.0.3 dawbckup
Do a restart (init 6) and you should be able to connect to the internet after you reverse the ip adress again
ifconfig nge0 ether 0:19:21:db:3c:5
Now you can get your gcc compiler and download the nfo driver.
Wednesday, May 20, 2009
Set Static IP on OpenSolaris
ifconfig nfo0 10.0.0.3 netmasks 255.255.255.0 up (I decided to give it 10.0.0.3)
echo "10.0.0.138" > /etc/defaultrouter (My router IP)
echo "10.0.0.0 255.255.255.0" > /etc/netmasks
dawbckup:/etc# cp nsswitch.conf nsswitch.conf.original
dawbckup:/etc# cp nsswitch.dns nsswitch.conf
Remove the file if present: /etc/dhcp.nfo0
edit /etc/hosts
add 10.0.0.3 dawbckup
vi /etc/defaultrouter
(add '10.0.0.138' on its own line)
vi /etc/hostname.nfo0
(add dawbckup)
everything should be okay when you'll reboot,
=========== reset config =====
In contemporary (Solaris 8/Solaris 9) days, "sys-unconfig" is the correct answer
==============================
step 1 select NIC nfo0
step 2. setup nameservers
edit /etc/resolv.conf
domain qstudio.nl (to get rid of the FQDN message)
nameserver 195.121.1.34 (Use DNS from your Internet Provider)
nameserver 195.121.1.66
step 3.Switch to using the DNS servers...
dawbckup:/etc# cp nsswitch.conf nsswitch.conf.original
dawbckup:/etc# cp nsswitch.dns nsswitch.conf
dawbckup:/etc# svcadm restart svc:/network/dns/client:default
Step 4: Switch to a static IP
gedit /etc/nwam/llp
change the 'nfo0 dhcp' to 'nfo0 static 10.0.0.3/24'
svcadm restart svc:/network/physical:nwam
step5.
edit /etc/hosts
add 10.0.0.3 dawbckup
vi /etc/defaultrouter
(add '10.0.0.138' on its own line)
(Hmmm, I realise I used two ways to edit/change files, one time using vi and started with "echo" Whichever you prefer)
step 6 (I did not need to do step 6, but it was mentioned by a user)
# pfexec svcadm enable svc:/network/physical:default
# pfexec svcadm restart network/routing-setup
Asus M4N78-Pro works with OpenSolaris 2008.11
I first tried to set this MCP78S (Geforce 8200 Ethernet) as a nge0 device but had trouble with the reverse bug with the MAC address.
I then decided to set it up as nfo0 with the nfo-2.6.3.tar.gz.
Installation following the readme provided with the tar file went OK and revealed itself as pci10de,760.