2008年4月26日

Vodafone with Ubuntu 8.04 Hardy AMD64 完美安裝動手作

眾所期待的Ubuntu 8.04(Hardy)終於讓大家等到release的一天,在開放下載當天我就將手邊數台電腦全部重灌新版,當然包括隨身的NB,不過每次重灌新版後的問題,就是3.5G的連線軟體必須重新安裝。

Huawei E220的連線軟體當然首推Vodafone Mobile Connect Card Driver,這套軟體讓Linux下也能享有和Windows的Mobile Connect有相似的3.5G連線、設定專用介面。Vodafone的介紹與設定調整,先前已有多篇介紹,在此就不再重提。

本次要分享的是,在Ubuntu 8.04 Hardy AMD64版本中,如何自行建立arch專屬的deb包(由於Vodafone已提供deb的相關設定,因此步驟相當簡單)。如果是安裝一般x86版本的Ubuntu,Vodafone已有提供i386 arch的deb包下載,並不需要自己動手包。

步驟一、下載所需原始安裝檔、解壓縮
wget https://forge.vodafonebetavine.net/frs/download.php/118/vodafone-mobile-connect-card-driver-for-linux_2.0.beta1.tar.gz
tar zxvf vodafone-mobile-connect-card-driver-for-linux_2.0.beta1.tar.gz
cd vodafone-mobile-connect-card-driver-for-linux-2.0.beta1

步驟二、安裝dpkg-buildpackage依賴的相關套件
sudo apt-get install dpkg-dev fakeroot build-essential debhelper python-setuptools libusb-dev

步驟三、執行dpkg-buildpackage建立deb包
dpkg-buildpackage

步驟四、安裝建立好的deb包
cd ..
dpkg -i vodafone-mobile-connect-card-driver-for-linux_2.0.beta1_amd64.deb
sudo apt-get -f install

將產生的vodafone-mobile-connect-card-driver-for-linux_2.0.beta1_amd64.deb檔案備份下來,下次重灌就不需要重新打包了(只要執行步驟四)。

1 則留言:

  1. QQ...我裝起來玩了
    真的好好玩,但是XD
    一開始用還是很不習慣
    在向你求救的時候,你居然不在了XD

    回覆刪除

lyhcode by lyhcode
歡迎轉載,請務必註明出處!