Re: [gentoo-user] arping network profile issue
I found this in gentoo wiki, and the same configuration in /etc/conf.d/net.example http://en.gentoo-wiki.com/wiki/Network_profiles_with_arping I guess, it works like, first you find a specific IP/MAX pair w/ ARP, then a manual configuration according the IP/MAC. 2010/5/8 Adam a...@jaftan.com.au On 05/08/10 15:25, Zhou Rui wrote: What I want is finding a gateway out with ARP, and then assign the correct gateway/route table, You cant discover a router with ARP. ARP finds the MAC address of a host that's associated with a given IP address. Ways of getting a ipv4 gateway are; - manual configuration - DHCP - http://en.wikipedia.org/wiki/ICMP_Router_Discovery_Protocol -- BR, Zhou Rui
Re: [gentoo-user] arping network profile issue
What I want is finding a gateway out with ARP, and then assign the correct gateway/route table, stuff in the configuration can be found in /etc/conf.d/net.example. BTW, what's IP level stuff meaning? thanks. 2010/5/7 Adam a...@jaftan.com.au On 05/06/10 03:35, Zhou Rui wrote: Hi folks, I setup a network interface to switch in two different network with different gateways using config_eth0=( arping ), and I can get gateway mac when use arping2 command directly. But the /etc/init.d/net.eth0 start always fails, can you help me to find the issue out? I cant understand what you're trying to achieve. IP will always do the arp for you so just set up the IP level stuff and whatever you're trying to do should work. dns_domain=vm config_eth0=( arping ) AFAICT This means you want to try to find a free address in the 169.254.x.x auto self configuration range - is that what you want? gateways_eth0=( 192.168.1.254,,192.168.1.114 192.168.1.1,,192.168.1.114 ) As none of those addresses are local, they cant be used as a gateway for a 169.254 address. -- BR, Zhou Rui
[gentoo-user] arping network profile issue
Hi folks, I setup a network interface to switch in two different network with different gateways using config_eth0=( arping ), and I can get gateway mac when use arping2 command directly. But the /etc/init.d/net.eth0 start always fails, can you help me to find the issue out? $ cat /etc/conf.d/net # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). dns_domain=vm config_eth0=( arping ) gateways_eth0=( 192.168.1.254,,192.168.1.114 192.168.1.1,,192.168.1.114 ) #config_eth0=( 192.168.1.114/24 ) #dns_servers_eth0=( 8.8.8.8 8.8.4.4 ) #routes_192168001001=( default via 192.168.1.1 ) config_192168001254=( 192.168.1.114/24 ) routes_192168001254=( default via 192.168.1.254 ) dns_servers_eth0=( 8.8.8.8 8.8.4.4 ) fallback_eth0=( dhcp ) dhcp_eth0=nodns $ sudo arping2 -0 -r -c 1 -i eth0 -S 192.168.1.114 192.168.1.254 00:1d:xx:xx:xx:xx Thanks for your help. -- BR, Zhou Rui
[gentoo-user] Re: arping network profile issue
Sorry it's a test profile, to avoid misunderstanding, post my profile here, and this file not working too. $cat /etc/conf.d/net # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). dns_domain=vm config_eth0=( arping ) gateways_eth0=( 192.168.1.254,,192.168.1.114 192.168.1.1,,192.168.1.114 ) config_192168001001=( 192.168.1.114/24 ) routes_192168001001=( default via 192.168.1.1 ) config_192168001254=( 192.168.1.114/24 ) routes_192168001254=( default via 192.168.1.254 ) dns_servers_eth0=( 8.8.8.8 8.8.4.4 ) fallback_eth0=( dhcp ) dhcp_eth0=nodns 2010/5/6 Zhou Rui gho...@gmail.com Hi folks, I setup a network interface to switch in two different network with different gateways using config_eth0=( arping ), and I can get gateway mac when use arping2 command directly. But the /etc/init.d/net.eth0 start always fails, can you help me to find the issue out? $ cat /etc/conf.d/net # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). dns_domain=vm config_eth0=( arping ) gateways_eth0=( 192.168.1.254,,192.168.1.114 192.168.1.1,,192.168.1.114 ) #config_eth0=( 192.168.1.114/24 ) #dns_servers_eth0=( 8.8.8.8 8.8.4.4 ) #routes_192168001001=( default via 192.168.1.1 ) config_192168001254=( 192.168.1.114/24 ) routes_192168001254=( default via 192.168.1.254 ) dns_servers_eth0=( 8.8.8.8 8.8.4.4 ) fallback_eth0=( dhcp ) dhcp_eth0=nodns $ sudo arping2 -0 -r -c 1 -i eth0 -S 192.168.1.114 192.168.1.254 00:1d:xx:xx:xx:xx Thanks for your help. -- BR, Zhou Rui -- BR, Zhou Rui
Re: [gentoo-user] How to disable the display power save mode
2008/8/25 Mick [EMAIL PROTECTED]: On Monday 25 August 2008, Zhou Rui wrote: 2008/8/25 Mick [EMAIL PROTECTED]: Or if you want to save the planet you could just press Alt every time you want to wake up the console screen - it works over here. You know, I'm testing some application would crash the system, so I need get the last output on console. If sometimes it turned blank, I have no chance to wake it up... I understand. Did you try pressing the 'Alt' key, it wakes my console screen up alright. -- Regards, Mick Yep, this works. I think this is the normal Press any key to wake up the monitor mode, only defference is an 'Alt' key does not display any junk, it's a clean waking. Usually I use the 'down' key for this job. -- BR, Zhou Rui
Re: [gentoo-user] How to disable the display power save mode
2008/8/25 Mick [EMAIL PROTECTED]: On Friday 22 August 2008, Zhou Rui wrote: 2008/8/21 Neil Bothwick [EMAIL PROTECTED]: On Thu, 21 Aug 2008 11:25:39 +0200, Volker Armin Hemmann wrote: xset -dpms Or, if using a virtual console and not X, setterm -blank 0 Yes, the command below worked: setterm -blank 0 -powersave off Or if you want to save the planet you could just press Alt every time you want to wake up the console screen - it works over here. -- Regards, Mick You know, I'm testing some application would crash the system, so I need get the last output on console. If sometimes it turned blank, I have no chance to wake it up... -- BR, Zhou Rui
[gentoo-user] How to disable the display power save mode
Hi, After install the basic gentoo system, the monitor will turn to black after a few munites, but I'm running some program and I have to watch the output in console. So how to keep my display always alive, I did some google but cannot find answer (maybe my keyword is not effactive)... Thanks. -- BR, Zhou Rui
Re: [gentoo-user] How to disable the display power save mode
2008/8/21 Neil Bothwick [EMAIL PROTECTED]: On Thu, 21 Aug 2008 11:25:39 +0200, Volker Armin Hemmann wrote: xset -dpms Or, if using a virtual console and not X, setterm -blank 0 -- Neil Bothwick If this leaves a waxy buildup - on anything - I'm coming back. Yes, the command below worked: setterm -blank 0 -powersave off Thanks. -- BR, Zhou Rui
Re: [gentoo-user] Debugging X
2008/8/20 forgottenwizard [EMAIL PROTECTED]: I'm having a problem getting X to work. It is seg faulting on me, and despite countless revdep-rebuilds and emerge -e world, it still doesn't work. It dies after the cursor shows up, spitting this backtrace and output. Sorry if the formatting sucks. The last line is probably refering to the fact I tried to run it from within screen, so if that could cause a problem say so, and tell me how the heck to get a log of this output (since startx log.txt doesn't work) #--- startx output ---# X Window System Version 1.3.0 Release Date: 19 April 2007 X Protocol Version 11, Revision 0, Release 1.3 Build Operating System: UNKNOWN Current Operating System: Linux localhost 2.6.25-gentoo-r7 #1 SMP PREEMPT Fri Aug 1 21:56:38 CDT 2008 x86_64 Build Date: 22 July 2008 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Wed Aug 20 00:11:37 2008 (==) Using config file: /etc/X11/xorg.conf (WW) NVIDIA: No matching Device section for instance (BusID PCI:0:1:3) found (II) Module already built-in The XKEYBOARD keymap compiler (xkbcomp) reports: Warning: Multiple names for keycode 211 Using I211, ignoring AB11 Errors from xkbcomp are not fatal to the X server Backtrace: 0: X(xf86SigHandler+0x6d) [0x49690d] 1: /lib/libc.so.6 [0x7fae2c0a4430] 2: X(NumMotionEvents+0x12) [0x447822] 3: X(CreateConnectionBlock+0x53) [0x439623] 4: X(main+0x658) [0x43a168] 5: /lib/libc.so.6(__libc_start_main+0xf4) [0x7fae2c091b74] 6: X(FontFileCompleteXLFD+0x229) [0x439259] Fatal server error: Caught signal 11. Server aborting waiting for X server to begin accepting connections giving up. xinit: Connection reset by peer (errno 104): unable to connect to X server xinit: No such process (errno 3): Server error. Couldnt get a file descriptor referring to the console #--- end ---# I've brought this to #x (or xorg, whichever the X support channel in freenode is), #linux, #gentoo, and the forums. I'm at a bit of a loss as to what the problem is, or how to go about trying to find out what is the problem. -- I'm not anti-social, I'm just not user friendly The X log locates in /var/log/Xorg.0.log -- BR, Zhou Rui
[gentoo-user] gnome update blocks
-center-2.22 (is blocking gnome-base/gnome-settings-daemon-2.22.2.1) Total: 49 packages (40 upgrades, 5 new, 4 reinstalls, 2 blocks), Size of downloads: 86,834 kB Has any solution about this? Thanks. -- BR, Zhou Rui
Re: [gentoo-user] gnome update blocks
2008/8/12 Justin [EMAIL PROTECTED]: Zhou Rui schrieb: Hi, I got 2 blocks in today's portage updating, they are about the gnome: $ emerge -pvuDN world These are the packages that would be merged, in order: Calculating world dependencies ... done! [ebuild U ] dev-libs/libxml2-2.6.32 [2.6.31] USE=python readline -bootstrap -build -debug -doc -examples -ipv6 -test 4,612 kB [ebuild U ] app-text/rarian-0.8.0-r1 [0.6.0-r1] USE=-debug 331 kB [ebuild U ] dev-libs/atk-1.22.0 [1.20.0] USE=-debug -doc 693 kB [ebuild U ] x11-libs/libxklavier-3.6 [3.3] USE=-doc 452 kB [ebuild N] net-libs/libsoup-2.4.1 USE=ssl -debug -doc 614 kB [ebuild U ] gnome-base/orbit-2.14.13 [2.14.12] USE=-debug -doc 723 kB [ebuild N] media-plugins/gst-plugins-alsa-0.10.20 0 kB [ebuild R ] media-plugins/gst-plugins-meta-0.10-r2 USE=X alsa* -a52 -dvb -dvd -esd -ffmpeg -flac -mad -mpeg -mythtv -ogg -oss -theora -vorbis -xv 0 kB [ebuild U ] x11-libs/pango-1.20.5 [1.20.3] USE=X -debug -doc 1,388 kB [ebuild U ] dev-util/intltool-0.37.1 [0.35.5] 136 kB [ebuild U ] gnome-base/libbonobo-2.22.0 [2.20.4] USE=-debug -doc 1,412 kB [ebuild U ] gnome-base/libgtop-2.22.2 [2.20.2] USE=-debug 769 kB [ebuild U ] dev-python/pygobject-2.14.2 [2.14.1] USE=X%* -debug -doc -examples -libffi% 359 kB [ebuild R ] media-gfx/imagemagick-6.4.0.6 USE=X bzip2 jpeg perl png* zlib -djvu -doc -fontconfig -fpx -graphviz -gs -hdri -jbig -jpeg2k -lcms -nocxx -openexr -q32 -q8 -svg -tiff -truetype -wmf -xml 0 kB [ebuild U ] x11-themes/gnome-icon-theme-2.22.0 [2.20.0] USE=-debug 3,581 kB [ebuild R ] net-print/cups-1.3.7-r1 USE=X acl dbus jpeg nls pam perl png* python ssl -avahi -java -kerberos -ldap -php -ppds -samba -slp -static -tiff -zeroconf LINGUAS=-de -en -es -et -fr -he -it -ja -pl -sv -zh_TW 0 kB [ebuild U ] x11-libs/gtk+-2.12.10-r1 [2.12.9-r2] USE=X cups jpeg vim-syntax -debug -doc -tiff -xinerama 15,851 kB [ebuild U ] gnome-base/gconf-2.22.0 [2.20.1-r1] USE=-debug -doc -ldap 1,384 kB [ebuild U ] x11-libs/libwnck-2.22.3 [2.20.3] USE=-debug -doc 672 kB [ebuild U ] gnome-base/gail-1.22.3 [1.20.2] USE=-debug -doc 659 kB [ebuild U ] x11-themes/gtk-engines-2.14.3 [2.12.2] USE=X%* -accessibility -debug -static 659 kB [ebuild R ] app-i18n/scim-1.4.5-r1 USE=gtk -doc (-kde%) (-qt3%) 0 kB [ebuild U ] dev-python/pygtk-2.12.1-r2 [2.12.0] USE=X%* -doc -examples (-opengl%*) 2,125 kB [ebuild U ] gnome-base/gnome-keyring-2.22.2 [2.20.3] USE=hal pam -debug -doc -test 884 kB [ebuild U ] x11-wm/metacity-2.22.0 [2.20.2] USE=-debug -xinerama 2,024 kB [ebuild N] gnome-base/gvfs-0.2.5 USE=gnome hal -avahi -cdda -debug -doc -fuse -gnome-keyring -gphoto2 -samba 808 kB [ebuild U ] x11-themes/gnome-themes-2.22.2 [2.20.2] USE=-accessibility -debug 1,464 kB [ebuild U ] gnome-extra/gucharmap-2.22.3 [1.10.2] USE=cjk gnome -debug 2,574 kB [ebuild U ] gnome-base/gnome-menus-2.22.2 [2.20.3] USE=python -debug 455 kB [ebuild U ] x11-libs/vte-0.16.14 [0.16.13] USE=opengl python -debug -doc 1,095 kB [ebuild U ] gnome-base/gnome-vfs-2.22.0 [2.20.1-r1] USE=acl hal ssl -avahi -debug -doc -fam% -gnutls -ipv6 -kerberos -samba 1,895 kB [ebuild U ] gnome-base/libgnome-2.22.0 [2.20.1.1] USE=-debug -doc -esd 1,375 kB [ebuild U ] gnome-base/librsvg-2.22.2 [2.20.0] USE=zlib -debug -doc (-gnome%*) 454 kB [ebuild U ] gnome-base/libbonoboui-2.22.0 [2.20.0] USE=X -debug -doc 983 kB [ebuild U ] gnome-base/libgnomeui-2.22.1 [2.20.1.1] USE=jpeg -debug -doc 1,417 kB [ebuild U ] gnome-base/gnome-desktop-2.22.3 [2.20.3] USE=-debug -doc 1,411 kB [ebuild U ] gnome-base/libgnomekbd-2.22.0 [2.20.0-r1] USE=-debug 397 kB [ebuild U ] x11-terms/gnome-terminal-2.22.3 [2.18.4] USE=-debug 1,761 kB [ebuild U ] dev-python/gnome-python-2.22.0 [2.20.1] USE=-debug -doc -examples 527 kB [ebuild U ] gnome-base/eel-2.22.2 [2.20.0] USE=X -debug 584 kB [ebuild U ] gnome-extra/yelp-2.22.1-r1 [2.20.0] USE=xulrunner -beagle -debug -lzma% 973 kB [ebuild U ] gnome-base/nautilus-2.22.5.1 [2.20.0-r1] USE=X gnome -beagle -debug (-esd%) (-tracker%) 4,900 kB [ebuild U ] gnome-base/gdm-2.20.7 [2.20.3] USE=pam tcpd -accessibility -afs -branding -debug -dmx -gnome-keyring% -ipv6 -remote (-selinux) -xinerama 3,889 kB [ebuild U ] gnome-base/gnome-control-center-2.22.2.1 [2.20.3] USE=hal -debug -eds -esd (-alsa%) 2,061 kB [ebuild N] gnome-base/gnome-settings-daemon-2.22.2.1 USE=alsa -debug -esd -gstreamer 1,113 kB [ebuild U ] gnome-base/gnome-session-2.22.3 [2.20.3] USE=branding tcpd -debug -ipv6 (-esd%) 756 kB [ebuild U ] gnome-base/gnome-applets-2.22.3 [2.20.1] USE=acpi gnome hal -apm -debug -doc -gstreamer -ipv6 -test 7,333 kB [ebuild N] dev-libs/libgweather-2.22.3 USE=-debug 6,123 kB [ebuild U ] gnome-base/gnome-panel-2.22.2 [2.20.3] USE=-debug -doc -eds
Re: [gentoo-user] Shell problem
2008/8/11 Francisco Ares [EMAIL PROTECTED]: looks like an alias, maybe you have accidentaly edited .bashrc or .bash_profile Just input alias in shell to check if the alias about * exists. hope this helps Francisco On Mon, Aug 11, 2008 at 9:57 AM, Ivan Alden [EMAIL PROTECTED] wrote: Hi all, I was working in a shell with tar and I changed something where now when I type * it interprets it as --exlucde i.e $ * bash: --exlucde: command not found or $ ls * ls: unrecognized option `--exlucde' Try `ls --help' for more information. how can I fix this? thanks, Ivan -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw -- BR, Zhou Rui
Re: [gentoo-user] X doesn't work with Intel 915GM
2008/8/7 Florian Philipp [EMAIL PROTECTED]: Zhou Rui schrieb: Hi, I'm using a Intel 915 on board VGA card. After I install the Xorg, and run: # Xorg -configure # X -config xorg.conf.new The X startup failed but there is now error reported... I cannot find what's wrong with my config, so what should I do in this situation. For a start, I attach my Xorg.conf which works with the same chip. If your PC is no notebook, you have to replace the touchpad input device with your entry for Mouse0 and change the entry in ServerLayout accordingly. # user have RW right to /dev/dri/card0 Section ServerLayout Identifier Layout0 Screen 0 Screen0 0 0 InputDeviceKeyboard0 CoreKeyboard InputDeviceTouchpad CorePointer EndSection Section Files EndSection Section Module Load freetype # Load xtt Load extmod Load glx Load dri Load dbe Load record Load xtrap Load type1 EndSection Section InputDevice Identifier Touchpad Driver synaptics Option SendCoreEvents true Option Protocol auto-dev Option LeftEdge 130 Option RightEdge 840 Option TopEdge 130 Option BottomEdge 640 Option FingerLow 7 Option FingerHigh 8 Option MaxTapTime 180 Option MaxTapMove 110 Option EmulateMidButtonTime 75 Option VertScrollDelta 20 Option HorizScrollDelta 20 Option MinSpeed 0.60 Option MaxSpeed 1.10 Option AccelFactor 0.030 Option EdgeMotionMinSpeed 200 Option EdgeMotionMaxSpeed 200 Option UpDownScrolling 1 Option CircularScrolling 1 Option CircScrollDelta 0.1 Option CircScrollTrigger 2 Option SHMConfig on Option Emulate3Buttons on # Option Protocol Auto # Option Emulate3Buttons Option Device /dev/input/mouse1 EndSection #Section InputDevice #Identifier Mouse0T #Driver mouse #Option Protocol Auto #Option Emulate3Buttons #Option Device /dev/input/mice #EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel inspiron Option XkbLayout de EndSection Section Monitor ### Comment all HorizSync and VertRefresh values to use DDC: Identifier LCD ### Comment all HorizSync and VertRefresh values to use DDC: # HorizSync31.5 - 79.0 # VertRefresh 50.0 - 70.0 # Option DPMS # Option PreferredMode 1400x1050 EndSection Section Device Identifier Card0 Driver i810 Card** Intel i810 (generic) [i810] Option LVDS LCD # Option XvMC true EndSection Section Screen Identifier Screen0 Device Card0 MonitorLCD # SubSection Display # Depth 24 #Virtual 2680 1050 # EndSubSection # DefaultDepth 24 # SubSection Display # Depth 24 # Modes1400x1050 1280x1024 1024x768 # EndSubSection EndSection Section DRI Group0 Mode 0666 EndSection Thank you very much Philipp, I tried your xorg.conf and modified mine, however, it still does not work, the log is as before... Now I'm going to remerge the mesa and xorg-server, hopes it can take effective. -- BR, Zhou Rui
Re: [gentoo-user] X doesn't work with Intel 915GM
2008/8/7 Florian Philipp [EMAIL PROTECTED]: Zhou Rui schrieb: 2008/8/7 Florian Philipp [EMAIL PROTECTED]: Zhou Rui schrieb: Hi, I'm using a Intel 915 on board VGA card. After I install the Xorg, and run: # Xorg -configure # X -config xorg.conf.new The X startup failed but there is now error reported... I cannot find what's wrong with my config, so what should I do in this situation. For a start, I attach my Xorg.conf which works with the same chip. Thank you very much Philipp, I tried your xorg.conf and modified mine, however, it still does not work, the log is as before... Now I'm going to remerge the mesa and xorg-server, hopes it can take effective. To rule out a driver problem, please change the driver setting to vesa. That will make it use a generic driver. I used vesa but the log said AIGLX error about the dri...but the vesa driver in ubuntu live CD is OK... -- BR, Zhou Rui
Re: [gentoo-user] X doesn't work with Intel 915GM
2008/8/7 Florian Philipp [EMAIL PROTECTED]: Zhou Rui schrieb: 2008/8/7 Florian Philipp [EMAIL PROTECTED]: Zhou Rui schrieb: 2008/8/7 Florian Philipp [EMAIL PROTECTED]: Zhou Rui schrieb: Hi, I'm using a Intel 915 on board VGA card. After I install the Xorg, and run: # Xorg -configure # X -config xorg.conf.new The X startup failed but there is now error reported... I cannot find what's wrong with my config, so what should I do in this situation. For a start, I attach my Xorg.conf which works with the same chip. Thank you very much Philipp, I tried your xorg.conf and modified mine, however, it still does not work, the log is as before... Now I'm going to remerge the mesa and xorg-server, hopes it can take effective. To rule out a driver problem, please change the driver setting to vesa. That will make it use a generic driver. I used vesa but the log said AIGLX error about the dri...but the vesa driver in ubuntu live CD is OK... Erm, yes, my fault: Comment out the lines Load glx Load dri in Module and Section DRI Group0 Mode 0666 EndSection By the way: If their config works, just copy it over and try it! Yes, I copied the ubuntu config file... but unfortunately, it still cannot work... For the time reason, I choosed to install the Ubuntu instead, I have to evaluate the HW this week. So, this question is closed. Thank you again, Philipp. -- BR, Zhou Rui
[gentoo-user] X doesn't work with Intel 915GM
) 00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04) 00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 04) 00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04) 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) 02:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01) And, I use the genkernel kernel booted the system. Any idea about this? Thanks. -- BR, Zhou Rui
Re: [gentoo-user] Re: strangeness with emerge -uD world [solved]
2008/8/2 »Q« [EMAIL PROTECTED]: On Wed, 30 Jul 2008 00:15:25 -0700 Andrey Falko [EMAIL PROTECTED] wrote: On Tue, Jul 29, 2008 at 11:42 PM, »Q« [EMAIL PROTECTED] wrote: I'm using portage-2.1.4.4. $ emerge -pqu world [ebuild U ] www-client/mozilla-firefox-3.0.1 [2.0.0.16] but $ emerge -pqu --deep world gives no output. I've never seen --deep cause fewer updates. What am I missing? I have EMERGE_DEFAULT_OPTS=--with-bdeps y in make.conf, and I don't know what more info to post. Is Firefox in /var/lib/portage/world? If not, do you intend Firefox to be a dependency? The only legitimate behavior I see is that Firefox is a dependency for a package that is not part of your world. I think I see now what caused this. It happened after I added Fx 3.0.1 to package.keywords. `emerge -u world` was pulling in mozilla-firefox-3.0.1 because it was in world, but `emerge -uD world` was not pulling it in because I have installed packages which have mozilla-firefox-2* as a dependency. Now that I've installed mozilla-firefox-3.0.1, `emerge -uD world` wants to downgrade me to 2.0.0.16, and `emerge -u world` doesn't see anything to do. -- »Q« I guess this happens because you have some package like yelp has dependecy to the firefox-2.0.*, the solve this, you need set the USE flag like this: # echo gnome-extra/yelp xulrunner /etc/portage/package.use to make it independence with firefox, and then you can upgrade your firefox freely. -- BR, Zhou Rui
Re: [gentoo-user] Thinkpad T61 HDAPS and sound card support
I have the same notebook. The sound worked for me only with 2.6.26. First using vanilla 2.26.26-rcX and finally with gentoo-sources-2.6.26. I switched to gentoo-sources-2.6.26 and the alsa card still cannot work, so can you give me your .config file please. Thank you. -- BR, Zhou Rui
Re: [gentoo-user] Thinkpad T61 HDAPS and sound card support
2008/7/31 Fernando Antunes [EMAIL PROTECTED] I have the same notebook. The sound worked for me only with 2.6.26. First using vanilla 2.26.26-rcX and finally with gentoo-sources-2.6.26. But the gentoo-sources-2.6.26 is unstable now, so may switch to this kernel safely? BTW, with the new kernel, does the LED of Intel 4965AGN works? -- BR, Zhou Rui
Re: [gentoo-user] Thinkpad T61 HDAPS and sound card support
2008/8/1 Fernando Antunes [EMAIL PROTECTED]: I moved gentoo-sources to ~x86 and it is very stable for me. Thanks about that, I will have a try about the 2.6.26 kernel soon, also the hdaps patch for the 2.6.25 didn't work for me, I can update it to 2.6.26 BTW, with the new kernel, does the LED of Intel 4965AGN works? No LED for wireless card. My T61 has an Atheros chip set and it is not working for me, TX and RX packets are dropped. The 2.6.26 recognize the card using ath5k driver, but no LED. I tryed ndiswrappe, but no much progress until now. I think you may have a try with madwifi, last time I used madwifi for my fujitsu U1010 and it works fine. -- BR, Zhou Rui
[gentoo-user] Thinkpad T61 HDAPS and sound card support
I have a thinkpad T61 runs gentoo now, I did some google on the HDAPS support, found that the hdapsd on portage is out of date now, so I cannot do emerge --config xxx to patch my kernel. The kernel is gentoo-sources-2.6.25-r7. My question is, is there a kernel is patched for the hdaps in portage? Or there are some ways to get the hdapsd work with gentoo way? For the sound, the intel HD alsa support is already compiled as a module, but I cannot find /dev/audio and actually the device does not work at all, do I miss some options? -- BR, Zhou Rui
Re: [gentoo-user] Atheros 5xxx driver in kernel 2.6.24-gentoo-r5
Did you autoload the module at boot (see /etc/conf.d/modules: modules=ath_pci)? I don't write the profile, because the module can be loaded automatically at boot. I used TKIP in my D-Link Router, so I emerged wpa_supplicant yesterday, it works fine. But at Linksys WRT54G which use shared WEP, still cannot obtain the IP at boot, then I switch the encryption of WRT54G to TKIP, it got the address... Now I think there may be some issue at the WEP connection initial stage, so at last, this card works fine for me. Thank you very much. -邮件原件- 发件人: Dirk Heinrichs [mailto:[EMAIL PROTECTED] 发送时间: 2008年6月27日 1:56 收件人: gentoo-user@lists.gentoo.org 主题: Re: [gentoo-user] 答复: [gentoo-user] Atheros 5xxx driver in kernel 2. 6.24-gentoo-r5 Am Donnerstag, 26. Juni 2008 schrieb Zhou Rui: Finally, I emerged madwifi-ng and the WLAN card works. Add if I do the cmd manually: # /etc/init.d/net.ath0 start the interface can get IP address from dhcp normally. But when I add the net. ath0 to the runlevel default and reboot, it cannot obtain the IP information with dhcpcd... That means I have to run the network restart script every time the system boots... Can you give me some advices about this? # cat /etc/conf.d/net # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). # config_eth0=( dhcp ) # dhcp_eth0=nonis nontp modules=( iwconfig ) key_xx=[1] ------cc key [1] enc restricted preferred_aps=( xx ) Hmm, isn't that WEP only (not sure)? config_ath0=( dhcp ) dhcp_ath0=nonis nontp Here's mine: modules=( wpa_supplicant dhcpcd ) wpa_supplicant_ath0=-Dmadwifi wpa_timeout_ath0=60 essid_ath0=my_network_name config_my_network_name=( dhcp ) key_my_network_name=s:my_wpa_key And finally, my wpa_supplicant.conf: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 eapol_version=1 # ap_scan=2 was the one for me you may try 0 or 1 indstead of 2 ap_scan=0 fast_reauth=1 network={ ssid=my_network_name proto=WPA key_mgmt=WPA-PSK pairwise=TKIP group=TKIP psk=my_wpa_key } Of course, you need to emerge wpa_supplicant. HTH... Dirk -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] 答复: [gentoo-user] Atheros 5xxx driver in kernel 2.6.24-gentoo-r5
Finally, I emerged madwifi-ng and the WLAN card works. Add if I do the cmd manually: # /etc/init.d/net.ath0 start the interface can get IP address from dhcp normally. But when I add the net. ath0 to the runlevel default and reboot, it cannot obtain the IP information with dhcpcd... That means I have to run the network restart script every time the system boots... Can you give me some advices about this? # cat /etc/conf.d/net # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). # config_eth0=( dhcp ) # dhcp_eth0=nonis nontp modules=( iwconfig ) key_xx=[1] ------cc key [1] enc restricted preferred_aps=( xx ) config_ath0=( dhcp ) dhcp_ath0=nonis nontp Thank you very much. Zhou -邮件原件- 发件人: Kan-I Jyo [mailto:[EMAIL PROTECTED] 发送时间: 2008年6月24日 17:15 收件人: gentoo-user@lists.gentoo.org 主题: Re: [gentoo-user] Atheros 5xxx driver in kernel 2.6.24-gentoo-r5 2008/6/24 Zhou Rui [EMAIL PROTECTED]: Thanks for your help, but I'm still puzzled with the madwifi driver and the build-in ath5k driver. Does it mean if I choose to install a madwifi driver I can still use my 2.6.24 kernel? Though ath5k driver will eventually replace the madwifi driver according to the development team, surely you can use your current 2.6.24 kernel with madwifi-ng package in portage. However, as Dirk has mentioned, the driver may or may not work with your card. So you may have to give it a try. But the problem is I cannot find the non-hamradio WLAN option in current kernel either... If the How to install madwifi gentoo wiki page is what you are reffering to, it may be a little bit out of date. You can take a look on madwifi.org's web page for an up-to-date requirements. http://madwifi.org/wiki/Requirements -- Sincerely, Jyo -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
re: [gentoo-user] Atheros 5xxx driver in kernel 2.6.24-gentoo-r5
Finally, I emerged madwifi-ng and the WLAN card works. Add if I do the cmd manually: # /etc/init.d/net.ath0 start the interface can get IP address from dhcp normally. But when I add the net. ath0 to the runlevel default and reboot, it cannot obtain the IP information with dhcpcd... That means I have to run the network restart script every time the system boots... Can you give me some advices about this? # cat /etc/conf.d/net # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). # config_eth0=( dhcp ) # dhcp_eth0=nonis nontp modules=( iwconfig ) key_xx=[1] ------cc key [1] enc restricted preferred_aps=( xx ) config_ath0=( dhcp ) dhcp_ath0=nonis nontp Thank you very much. Zhou -邮件原件- 发件人: Kan-I Jyo [mailto:[EMAIL PROTECTED] 发送时间: 2008年6月24日 17:15 收件人: gentoo-user@lists.gentoo.org 主题: Re: [gentoo-user] Atheros 5xxx driver in kernel 2.6.24-gentoo-r5 2008/6/24 Zhou Rui [EMAIL PROTECTED]: Thanks for your help, but I'm still puzzled with the madwifi driver and the build-in ath5k driver. Does it mean if I choose to install a madwifi driver I can still use my 2.6.24 kernel? Though ath5k driver will eventually replace the madwifi driver according to the development team, surely you can use your current 2.6.24 kernel with madwifi-ng package in portage. However, as Dirk has mentioned, the driver may or may not work with your card. So you may have to give it a try. But the problem is I cannot find the non-hamradio WLAN option in current kernel either... If the How to install madwifi gentoo wiki page is what you are reffering to, it may be a little bit out of date. You can take a look on madwifi.org's web page for an up-to-date requirements. http://madwifi.org/wiki/Requirements -- Sincerely, Jyo -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Atheros 5xxx driver in kernel 2.6.24-gentoo-r5
Thanks for your help, but I'm still puzzled with the madwifi driver and the build-in ath5k driver. Does it mean if I choose to install a madwifi driver I can still use my 2.6.24 kernel? But the problem is I cannot find the non-hamradio WLAN option in current kernel either... -邮件原件- 发件人: Kan-I Jyo [mailto:[EMAIL PROTECTED] 发送时间: 2008年6月24日 9:16 收件人: gentoo-user@lists.gentoo.org 主题: Re: [gentoo-user] Atheros 5xxx driver in kernel 2.6.24-gentoo-r5 2008/6/24 Neil Bothwick [EMAIL PROTECTED]: On Mon, 23 Jun 2008 23:22:45 +0900, Kan-I Jyo wrote: In other word, you may have to wait for 2.6.25 or later gentoo-source to be marked as stable or do # echo sys-kernel/gentoo-sources /etc/portage/package.keywords to use a not-yet-stable version of kernel. That will mean he always uses testing kernel ebuilds, even when 2.6.25 becomes stable. Better to add ~sys-kernel/gentoo-sources-2.6.25 to package.keywords. Yes, surely your solution is a better way to do this job. Thank you for your reminder. -- Sincerely, Jyo -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Atheros 5xxx driver in kernel 2.6.24-gentoo-r5
Hi everyone, I'm using gentoo in my UMPC fujitsu U1010 which has a Atheros superG wireless card. I found the wiki says there is a kernel option can compile Atheros 5xxx WLAN driver into the kernel, but I cannot find it in my kernel 2.6.24-gentoo-r5 (emeged as gentoo-sources). So where can I get a kernel with the Atheros driver? Thanks. Zhou Rui
[gentoo-user] Re: Atheros 5xxx driver in kernel 2.6.24-gentoo-r5
2008/6/23 Zhou Rui [EMAIL PROTECTED]: Hi everyone, I'm using gentoo in my UMPC fujitsu U1010 which has a Atheros superG wireless card. I found the wiki says there is a kernel option can compile Atheros 5xxx WLAN driver into the kernel, but I cannot find it in my kernel 2.6.24-gentoo-r5 (emeged as gentoo-sources). So where can I get a kernel with the Atheros driver? Thanks. Zhou Rui I'm sorry I get a mistake, the kernel version is 2.6.24-gentoo-r8, the newest kernel in the portage.