2008年5月5日 星期一
2008年1月23日 星期三
2007年11月22日 星期四
Tad 網路手札:在EPC安裝win的軟體 - yam天空部落
Tad 網路手札:在EPC安裝win的軟體 - yam天空部落:
在Linux下有套軟體叫做 wine,可用來模擬 windows環境的...早期我個人覺得蠻難用的,要設定一堆東西,不過...發展到現在,已經相當完備囉!使用上也相當簡單~來看看怎麼把 wine 裝起來吧~
首先,開啟終端機(Ctrl+Alt+T),輸入這行(只有一行喔~直接複製貼上比較快):
在Linux下有套軟體叫做 wine,可用來模擬 windows環境的...早期我個人覺得蠻難用的,要設定一堆東西,不過...發展到現在,已經相當完備囉!使用上也相當簡單~來看看怎麼把 wine 裝起來吧~
首先,開啟終端機(Ctrl+Alt+T),輸入這行(只有一行喔~直接複製貼上比較快):
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/etch.list -O /etc/apt/sources.list.d/winehq.list
2007年4月22日 星期日
Enable WPA Wireless access point in Ubuntu Linux -- Debian Admin
Enable WPA Wireless access point in Ubuntu Linux -- Debian Admin: "Procedure to enable WPA Wireless in Ubuntu
To update the source list run the following command
sudo apt-get
sudo apt-get install wpasupplicant
sudo apt-get install network-manager-gnome network-manager
sudo gedit /etc/network/interfaces
Comment out everything other than “lo” entries in that file and save the file
Create a file called /etc/default/wpasupplicant, add entry ENABLED=0 and save the file
sudo touch /etc/default/wpasupplicant
Reboot your system or use the following command
sudo /etc/init.d/dbus restart"
To update the source list run the following command
sudo apt-get
sudo apt-get install wpasupplicant
sudo apt-get install network-manager-gnome network-manager
sudo gedit /etc/network/interfaces
Comment out everything other than “lo” entries in that file and save the file
Create a file called /etc/default/wpasupplicant, add entry ENABLED=0 and save the file
sudo touch /etc/default/wpasupplicant
Reboot your system or use the following command
sudo /etc/init.d/dbus restart"
2007年4月21日 星期六
HOW TO: Zydas ZD1211 wireless with WPA - Ubuntu Forums
HOW TO: Zydas ZD1211 wireless with WPA - Ubuntu Forums: "Set up /etc/wpa_supplicant.conf, changing the values in italics
Code:
network={
ssid='network id'
scan_ssid=1
pairwise=TKIP
psk='encryption key'
key_mgmt=WPA-PSK
proto=WPA
}"
Code:
network={
ssid='network id'
scan_ssid=1
pairwise=TKIP
psk='encryption key'
key_mgmt=WPA-PSK
proto=WPA
}"
Tsung's Blog | Ubuntu Linux 設定 Wirelss(WiFi) WPA
Tsung's Blog | Ubuntu Linux 設定 Wirelss(WiFi) WPA
方法1, 參考連結: 在 Linux 環境使用 WiFi WPA 加密連線(我目前使用此方法)
- apt-get install wpasupplicant
- wpa_passphrase SSID WPA_KEY > /etc/wpa_supplicant/WIFI.conf
- wpa_supplicant -BDwext -ieth1 -c/etc/wpa_supplicant/WIFI.conf
- dhclient eth1
- route add default gw IP_of_AP # 說明說要用, 但是不一定需要
/etc/wpa_supplicant/WIFI.conf(上述第一步自動產生的, 不用修改) 大概會長如下:
network={
ssid="SSID"
#psk="WPA_KEY"
psk=WPA_PASSPHRASE_KEY
}
2007年4月20日 星期五
DLink DWL-G510 Wirless card - Some issues - Ubuntu Forums
DLink DWL-G510 Wirless card - Some issues - Ubuntu Forums
DLink DWL-G510 Wirless card - Some issues
Ok, I hate to take time away from people that are getting NO connection, but any replies may help them as well.
I installed the latest version of Fiesty today (which should be pretty close to the stable 7.04)
The nice thing about it was that in automatically scanned and found my access point, and connected to it. Now, here are my issues:
1. I'm getting a 50% signal strength vs. 100% in windows (I dual boot)
2. I can't for the life of me get it to connect manually w/ a static IP. I already tried using wpa_supplicant. I kept trying to do it that way thinking that maybe the "roaming" feature of feisty was hurting my signal strength.
So I thought of using some different drivers. I'm currently using ath_pci. Is that the madwifi driver? Because I considered switching to madwifi.
All in all I didn't try any different drivers (though I downloaded the XP driver) because I don't know how to actually switch the drivers.
Any help would be much appreciated.
I installed the latest version of Fiesty today (which should be pretty close to the stable 7.04)
The nice thing about it was that in automatically scanned and found my access point, and connected to it. Now, here are my issues:
1. I'm getting a 50% signal strength vs. 100% in windows (I dual boot)
2. I can't for the life of me get it to connect manually w/ a static IP. I already tried using wpa_supplicant. I kept trying to do it that way thinking that maybe the "roaming" feature of feisty was hurting my signal strength.
So I thought of using some different drivers. I'm currently using ath_pci. Is that the madwifi driver? Because I considered switching to madwifi.
All in all I didn't try any different drivers (though I downloaded the XP driver) because I don't know how to actually switch the drivers.
Any help would be much appreciated.
2007年4月15日 星期日
2007年4月13日 星期五
Fedora Core 5 and ndiswrapper.-Redhat / Fedora Linux Help-Linux Forums
Fedora Core 5 and ndiswrapper.-Redhat / Fedora Linux Help-Linux Forums: "(or kernel-smp-devel for SMP kernels) to install the kernel headers that you need
But there are better ways to install ndiswrapper. You can add Livna and then do"
But there are better ways to install ndiswrapper. You can add Livna and then do"
yum install kernel-devel
SuSE Linux Forums > Driver For Dwl-g510
SuSE Linux Forums > Driver For Dwl-g510
ok, you have re-installed suse, with kernel sources,etc as before, best thing to do now is take your time, ensure you have all the bits necessary to compile. another thing i spotted, you have saved ndiswrapper to the desktop, not a good idea. save it to a place in your /home directory. i normally have a separate folder for downloads, makes things easier & things compile better. quick way i do it
1 ) right click the tarball & select extract to here
2 ) open the folder that was extracted.
3 ) double click in the address bar then right click & select copy
4 ) open a console & type cd then right click & select paste then press enter. you should now be in the folder.
5 ) type make & press enter. let it do it's thing.
6 ) once completed, type su & press enter. then enter root's password.
7 ) type make install & press enter. it should then install ndiswrapper.
8 ) once it is installed you then type ndiswrapper -i /path /to your/driver & press enter. driver should then be installed.
9 ) type ndiswrapper -l to confirm driver install.
10 ) type ndiswrapper -ma to install module.
11 ) type modprobe ndiswrapper & press enter & your wireless card should be initialised.
12 ) go to yast - network devices - network card & then set up your card.
see if that helps
andy
ok, you have re-installed suse, with kernel sources,etc as before, best thing to do now is take your time, ensure you have all the bits necessary to compile. another thing i spotted, you have saved ndiswrapper to the desktop, not a good idea. save it to a place in your /home directory. i normally have a separate folder for downloads, makes things easier & things compile better. quick way i do it
1 ) right click the tarball & select extract to here
2 ) open the folder that was extracted.
3 ) double click in the address bar then right click & select copy
4 ) open a console & type cd then right click & select paste then press enter. you should now be in the folder.
5 ) type make & press enter. let it do it's thing.
6 ) once completed, type su & press enter. then enter root's password.
7 ) type make install & press enter. it should then install ndiswrapper.
8 ) once it is installed you then type ndiswrapper -i /path /to your/driver & press enter. driver should then be installed.
9 ) type ndiswrapper -l to confirm driver install.
10 ) type ndiswrapper -ma to install module.
11 ) type modprobe ndiswrapper & press enter & your wireless card should be initialised.
12 ) go to yast - network devices - network card & then set up your card.
see if that helps
andy
Ubuntu 正體中文站 - Ubuntu 6.10 Edgy初體驗-ADSL(pppoe)上網篇 [論壇 - Ubuntu基本設定]
Ubuntu 正體中文站 - Ubuntu 6.10 Edgy初體驗-ADSL(pppoe)上網篇 [論壇 - Ubuntu基本設定]: "設定pppoe
用指令設定最簡單囉
sudo pppoeconf
照著說明輸入帳號密碼,後面的選項都按yes即可"
用指令設定最簡單囉
sudo pppoeconf
照著說明輸入帳號密碼,後面的選項都按yes即可"
2007年2月20日 星期二
HOWTO Restore GRUB
HOWTO Restore GRUB(救回GRUB妙招)
1.查menu.lst看linux安裝在哪個hd(假設是(hd0,1))
2. 打 root(hd0,1)
3. 若從hd0之MBR區開機,打setup(hd0)
1.查menu.lst看linux安裝在哪個hd(假設是(hd0,1))
2. 打 root(hd0,1)
3. 若從hd0之MBR區開機,打setup(hd0)
2007年2月19日 星期一
Uninstall GLIB(轉貼)
On Wed, 2003-06-11 at 06:32, Gerald Wong wrote:
> Ok, this is what i've gathered:
> glib-2.2.1 is included with RedHat 9
> It can't be uninstalled because it fails the dependencies check
Right. RedHat 9 comes with both 1.2.10 and 2.2.1. Glib 2 is quite an
overhaul from GLib 1, so you need both installed to run both old GTK 1
apps and new GTK 2 apps. The package name for GLib 2 is glib2, not
glib, so if you're trying to find the version with rpm, you should be
doing 'rpm -qi glib2'.
And you can't just remove GLib. Every GTK app, including every Gnome
app, depends on it.
> How do i overwrite it with a glib compiled from source?
First of all, you should really update the RPM database after installing
GLib from source, unless you don't plan on using RPMs anymore. Having
an inconsistancy on such a fundamental library is not good.
99.999% of the time somebody gets errors like the ones you gave, it's
because it's installed in the wrong place. GLib could be installed in
any number of places (/usr, /usr/local, /opt/gnome, etc.) and I don't
know what its default is. RedHat likes this stuff to be in /usr. You
probably did:
./configure
make
make install
which very may have put GLib in /usr/local. You should try
./configure --prefix=/usr
make
make install
which will put it in /usr. If this is the problem, you probably want to
remove the GLib installed in the wrong place (likely /usr/local). It
won't hurt anything, but it's wasting disk space. To do that, you need
only make uninstall.
./configure
make uninstall
Please make sure to rerun configure without the --prefix option so that
it will uninstall from the default prefix (again, likely /usr/local),
and not from /usr, where you've just installed it. In fact, just be
completely safe and remove the directory you used to build GLib in /usr,
then do make uninstall from a fresh untarring. You'll be very unhappy
if you find yourself without GLib.
> Don't worry, i've solved the problem. Just wait for the RPM to come out.
Probably wise. If you don't feel like waiting for an RPM officially
blessed by RedHat, you can go to NyQuist's wonderful, wonderful,
wonderful collection of RPMs. He maintains a repository of all the
latest Gnome-related RPMs, all built on RedHat 9. GLib 2.2.2 is on
there.
http://people.ecsc.co.uk/~matt/repository.html
Did I mention it's wonderful?
2005年9月11日 星期日
Linux
如果你對電腦有興趣,想研究程式設計,
那麼你也應該認識一下linux,
首先先介紹一些程式語言的基本概念,
程式語言有分高階或低階,
低階和高階之分,指的是寫作程式語言時和硬体的關連,
低階的程式語言,如組合語言,就是和硬体比較有關的,
至於Java則是高階語言,
而資訊業界常見的語言,C語言,算是中階語言。
話題再回到linux,
linux下有一堆open source的東西可以研究,
所謂open source,就是可以看到程式的源始碼,
在windows下,像是用C語言寫的程式,compier之後,
就成為一個obj檔,之後經由linker,
就成為一個可執行的exe檔,
而exe檔經由反編後,只能看到組合語言,
因為組合語言是低階語言,所以不好看懂…應該說極吃力看懂,
(主要是程式經過compiler最佳化的原因,所以從組語是很難了解的)
這時若沒有原始檔,就很難再去改寫程式,
而open source,就是開放源始檔的概念,
若是用C語言寫的程式,有open source的話,
就可以看到C的檔案,通常是.c結尾的檔。
Open Source的概念,最強力推廣的組織,要算是Free Software Foundation(FSF)了,
有興趣的話,可以去以下網址看看:
自由軟體基金會(FSF)(中文)
或是去它的英文官網:Free Software Foundation
最後,話題在回linux,
linux也是行open source的軟体(windows當然不是open souce)
如果你想安裝linux的話,
linux現在有許多套件,套件的意思,就是把在linux下執行的軟体,打包成一塊的意思,
其中一個美國發行的有名套件叫做Fedora,
Fedora是Red Hat套件的前身,由redhat所發行,
想要安裝Fedora的人,
可以去Redhat官網下載(英文)
此網站為英文,不過Fedora現在已經有支援中文了^^
enjoy~~~
那麼你也應該認識一下linux,
首先先介紹一些程式語言的基本概念,
程式語言有分高階或低階,
低階和高階之分,指的是寫作程式語言時和硬体的關連,
低階的程式語言,如組合語言,就是和硬体比較有關的,
至於Java則是高階語言,
而資訊業界常見的語言,C語言,算是中階語言。
話題再回到linux,
linux下有一堆open source的東西可以研究,
所謂open source,就是可以看到程式的源始碼,
在windows下,像是用C語言寫的程式,compier之後,
就成為一個obj檔,之後經由linker,
就成為一個可執行的exe檔,
而exe檔經由反編後,只能看到組合語言,
因為組合語言是低階語言,所以不好看懂…應該說極吃力看懂,
(主要是程式經過compiler最佳化的原因,所以從組語是很難了解的)
這時若沒有原始檔,就很難再去改寫程式,
而open source,就是開放源始檔的概念,
若是用C語言寫的程式,有open source的話,
就可以看到C的檔案,通常是.c結尾的檔。
Open Source的概念,最強力推廣的組織,要算是Free Software Foundation(FSF)了,
有興趣的話,可以去以下網址看看:
自由軟體基金會(FSF)(中文)
或是去它的英文官網:Free Software Foundation
最後,話題在回linux,
linux也是行open source的軟体(windows當然不是open souce)
如果你想安裝linux的話,
linux現在有許多套件,套件的意思,就是把在linux下執行的軟体,打包成一塊的意思,
其中一個美國發行的有名套件叫做Fedora,
Fedora是Red Hat套件的前身,由redhat所發行,
想要安裝Fedora的人,
可以去Redhat官網下載(英文)
此網站為英文,不過Fedora現在已經有支援中文了^^
enjoy~~~
訂閱:
文章 (Atom)