Posts

Showing posts from 2008

Opensolaris, Huawei E220, Swisscom and Sunrise

I was able to open a 3G connection to Swisscom and Sunrise using a Huawei E220 3G Modem under Opensolaris. Here are the config files (If PIN is enabled on the SIM, add OK "AT+CPIN=????" to the chat script) Swisscom: /etc/ppp/chat-swisscom: ABORT BUSY ABORT 'NO CARRIER' ABORT ERROR REPORT CONNECT TIMEOUT 120 "" "AT&F" OK "ATZ" OK "ATQ0 V1 E1 S0=0 &C1 &D2" #OK "AT+CPIN=????" OK 'AT+CGDCONT=1,"IP","gprs.swisscom.ch"' SAY "Calling Swisscom" OK "ATDT*99***1#" TIMEOUT 120 CONNECT '' /etc/ppp/peers/swisscom: term/1 115200 connect "/usr/bin/chat -V -t15 -f /etc/ppp/chat-swisscom" idle 7200 lock crtscts noipdefault modem user "gprs" password "gprs" noauth passive usepeerdns defaultroute connect-delay 6000 novj nodetach Sunrise: /etc/ppp/chat-sunrise: ABORT BUSY ABORT 'NO CARRIER' ABORT ERROR REPORT CONNECT TIME

Connecting Opensolaris to a Cisco VPN

I finally got my Opensolaris box hooked up to a Cisco VPN: 1. Get the tun/tap driver from Kazuyoshi. This driver is used for creating a using between the client and the Cisco VPN router. 2. Compile and install the driver: pkg install sunstudioexpress export CC=/opt/SunStudioExpress/bin/cc ./configure make make install 3. Download the vpnc client. This program handels the vpn connection. I've used the version 0.5.1. 4. Get gmake pkg install SUNWgmake 5. Adjust installation paths (my personal preferences): Makefile: PREFIX=/opt/vpnc ETCDIR=/opt/vpnc/etc config.c (hardcoded locations): Line 250: return "/opt/vpnc/etc/ssl/certs"; Line 270: return "/opt/vpnc/etc/vpnc-script"; Line 275: return "/var/run/vpnc.pid"; Line 541: ... : /opt/vpnc/etc/", ... Line 760: ... "/opt/vpnc/etc/default.conf" ... Line 761: ... "/opt/vpnc/etc/vpnc.conf" ... gmake gmake install 6. Convert the pcf file into vpnc format using /opt/

OpenSolaris 2008.05, BrandZ and Zattoo

Image
I've been using OpenSolaris 2008.05 for about a week, and despite some small bugs, I really fell in love. Until now I did not have the time to play around with Nevada releases, but OpenSolaris 2008.05 could really be my future #1 desktop (beside my Sunray...). Things that worked so far: -Getting Windows inside Virtualbox (yeah there are some apps still left running only on windows..) -CentOS in a Branded Linux Zone (experimental Linux 2.6 support) -Skype in a Branded Linux Zone(without sound yet) -Zattoo in a Branded Linux Zone (without sound yet) What does not work yet: -TUN for Cisco VPNs -ACPI (there are some drivers...) -Sun Secure Global Desktop Client (at least the automatic client download...) What's left to say? Thanks to the OpenSolaris Community for all efforts. OpenSolaris Rocks!!!

Using wget for downloads.oracle.com

Downloading from oracle.com using wget is simple. -First go to downloads.oracle.com and select the software to be downloaded -Log in with your account and accecpt the license -Copy the download link to your clipboard -Find your cookies.txt in your $HOME -Use wget: $ wget --load-cookies=$HOME/.mozilla/default/.../cookies.txt -c [your url] -Now you should be able to download the software -This should also work for other sites.