Opensolaris 2008.5, Brother HL-2030 laser printer, internet access
Content:
1) Intro
2) Printer
3) Internet access
———————————-
1) Intro:
I have installed the released version 2008.5, on my Lenovo AMD-64 x 2. GNOME Desktop.
Comparing to the Express edition and 1/2008, it works a little bit differently.
It seems to me that I am back to the old days of Solaris (aka 2.x).
Presumably, I can understand that this release takes a logical step towards blending new features and existing Solaris based ones. The opensolaris is meant for enterprise usage as well as standalone at home (a la Linux Desktop).
With 2008.5, I can’t use the printer and internet access without explicitly setting them up.
So a dirty workaround is made.
My service settings (some of them): System->Administration->Services
- DNS resolver (network/dns/client)
- Hardware Abstraction Layer daemon (system/hal) (hald)
- Hardware Abstraction Layer network attached device discovery
(network/device-discovery/printers:snmp)
- inetd
- initial network services (network/initial)
- initial routing services (network/routing-setup)
- local file system mounts (system/filesystem/local)
- loopback network interface (network/loopback)
- LP print server (application/print/server)
- physical network interfaces (network/physical)
- Removable volume manager (system/filesystem/rmvolmgr)
2) Printer:
Brother HL-2030.
On boot up, the OS detects correctly the printer (usb). But it takes time to understand that this printer has to be setup (on earlier versions, it works right away).
I found a thread at:
http://opensolaris.org/jive/thread.jspa?messageID=232528
2-1) Download PPD at:
http://openprinting.org/show_printer.cgi?recnum=Brother-HL-2060
Execute:
# ppdmgr -a Brother-HL-2060-hl1250.ppd
2-2) Plug the USB printer;
2-3) The window showing printer will show up:
Choose type: Brother
Choose Model: HL-2060
Choose format Brother(U): Foomatic/hl1250 (recommended)
Options: Default printer.
Click OK.
2-4) The “Print manager” window pops up:
Icon HL-2030_series
2-5) To check, execute:
#printmgr
The “Solaris Print Manager” window pops up:
Highlight the printer and choose on the menu Pinter->Modify Printer Properties …
Use the Help, in order to understand …
3) Internet access:
The /etc/hosts and /etc/resolv.conf files are volatile between boots.
Execute a script, as root:
———————————————————
#!/bin/bash
cp -f /etc/hostsBAK /etc/hosts
cp -f /etc/resolv.confBAK /etc/resolv.conf
ifconfig rge0 plumb
ifconfig rge0 dhcp
——————————————————–
Where:
hostsBAK contains the current hostname (opensolaris).
resolv.confBAK contains the ISP primary nameservers.
Check or just copy /etc/nsswitch.dns to /etc/nsswitch.dns (I made a copy of the later).
Reboot the computer (easyest way a la Windows).
As a reminder:
Network card: D-Link DGE-528T
Add the line in /etc/driver_aliases:
rge “pci1186,4300″