Archive for the ‘Gentoo Linux’ Category
wireless networking with dlink dwl g520 update
As i wrote in my last post i wanted to find a way so that ath0 will start automatically on boot and dhcpcd configure it then.The solution to this is quite easy.The only thing i have to do is first create the script file with ln -s /etc/init.d/net.lo /etc/init.d/net.ath0 then add to /etc/conf.d/net this line config_ath0=( “dhcp” ) and last add it to the default runlevel with rc-update add net.ath0 default.
wireless networking with dlink dwl g520
Recently i bought a D-Link AirPlus DWL-G520 Wireless PCI Adapter for one desktop machine i have.I manage to get it working in gentoo with wpa-psk following these steps.
First after i insert the card in the box i run update-pciids so lspci list the card
# lspci |grep Ethernet
01:08.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
Then i emerged net-wireless/madwifi-ng and net-wireless/madwifi-ng-tools to provide me the driver for the card.So with modprobe ath_pci the module is loaded.
# lsmod |grep ath
ath_rate_sample 12288 1
ath_pci 88416 0
wlan 188932 4 wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal 189712 3 ath_rate_sample,ath_pci
Next as i read in the handbook here i have to emerge net-wireless/wpa_supplicant and edit /etc/conf.d/net as follows
modules=( “wpa_supplicant” )
wpa_supplicant_ath0=”-Dmadwifi”
and /etc/wpa_supplicant/wpa_supplicant.conf like that
# This is a network block that connects to any unsecured access point.
# We give it a low priority so any defined blocks are preferred.
network={
key_mgmt=NONE
priority=-9999999
}
# The below line not be changed otherwise we refuse to work
ctrl_interface=/var/run/wpa_supplicant
# Ensure that only root can read the WPA configuration
ctrl_interface_group=0
# Let wpa_supplicant take care of scanning and AP selection
ap_scan=1
# Simple case: WPA-PSK, PSK as an ASCII passphrase, allow all valid ciphers
network={
ssid=”**********”
psk=”**********”
# The higher the priority the sooner we are matched
priority=5
}
After that i run wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant.conf -iath0 -Dmadwifi -B to start the wpa_supplicant daemon and last i run dhcpcd -n ath0 so that ath0 interface takes an ip.
So far so good but now i have to find a way so ath0 will start automatically on boot and dhcpcd configure it then.Does anyone have any hint?(for the solution see my later post )
xdtv
Today i receive a reply in a bug i filed last May about xdtv failing to start due to not finding a fontset.It seems that the whole issue was about locales and a missing FontPath in xorg.conf(as i understand it).For further details you can see the bug page.Another news from the front is that from the coming Monday i begin the new semester in my university where i will attend some interesting courses like data structures in C and a web developing class.I hope all will go well and eventually learn some things.
Beryl
Today i read a post from planet larry about latest nvidia driver and beryl.I decided to give it a try although i am not a big fan of 3D desktops.The result i admit, it left me amazed.The setup was very easy to achieve.I just emerge the latest nvidia beta driver (1.0.9626) then emerge beryl with help form this wiki page and configure and update xorg to version 7.1 .Finally i reboot, login to gnome, started beryl-manager and all is ok.Here is some screenshots
external usb ntfs Hard-Drive
One friend of mine (who use exclusively windows) owns an external usb hard-drive formatted with the ntfs filesystem.Five months ago he bring it to my place and when i plug it in, as user i couldn’t view its contents.I filed that bug in gentoo bugzilla describing that issue and since then i upgraded to gnome 2.16 but the problem still remains.Anyone can think a workaround?
elogviewer
Όλοι όσοι χρησιμοποιείτε την διανομή Gentoo Linux θα έχετε παρατηρήσει οτι όταν ένα πακέτο γίνεται emerge συνήθως στο τέλος υπάρχουν κάποια elogs(λάθη, προειδοποιήσεις, αρχεία καταγραφής κ.α. που έχουν σχέση με το πακέτο) τα οποία περιέχουν σημαντικές πληροφορίες που χρειάζεται ο χρήστης κατά αλλά και μετά απο την εγκατάσταση του πακέτου.Μέχρι πριν λίγο καιρό προσπαθούσα να αποθηκεύω αυτά τα elogs με διάφορους τρόπους.Ψάχνοντας όμως στα forums του Gentoo βρήκα αυτό το πρόγραμμα το οποίο μπορεί να εμφανίζει όλα τα elogs σε γραφικό περιβάλλον να τα ταξινομεί ανάλογα με τις απαιτήσεις του χρήστη και να τα διαγράφει.
Για να το εγκαταστήσετε μπορείτε να χρησιμοποιήσετε την ebuild που υπάρχει στο sunrise overlay.Για το πως μπορείτε να την χρησιμοποιήσετε πληροφορίες υπάρχουν εδώ και εδώ.