[arch-general] Laptop Install - 2 questions remain, WPA and Compiz with Radeon Driver
Listmates, The laptop install (Toshiba 205D) went great accept where I am stuck with video drivers for my ati card, and the last little nit of getting wifi to start automatically. First the easy one, the wireless: (1) My laptop has an Atheros card and is happily using the madwifi driver. The only problem is that I'm starting it manually and need to know where to put the pieces to have it start automatically. Basically, it takes 3 commands to get my wifi going: ESSID=${1:-skyline} IFACE=${2:-wlan0} iwconfig ${IFACE} essid "${ESSID}" wpa_supplicant -i${IFACE} -Dwext -c/etc/wpa_supplicant.conf -d -B
/var/log/wpa_start.log 2>&1
sleep 2 # This doesn't count as a command dhcpcd wlan0 My question is "Where do I put this stuff to make it happen when I start Arch?? (2) No Compiz with the radeon driver. I know there must be a trick or two that will make this work. Heck, I even got compiz working on the intel card, so I know the ATI card (X1200) will do it (it does it with the fglrx driver on openSuSE). However, I don't know what the tricks are to getting it working on the stock radeon driver. Any other ATI Arch users know any more about this?? Here is my current xorg.conf: # Section "Files" FontPath "/usr/share/fonts/misc:unscaled" FontPath "/usr/share/fonts/local" FontPath "/usr/share/fonts/75dpi:unscaled" FontPath "/usr/share/fonts/100dpi:unscaled" FontPath "/usr/share/fonts/Type1" FontPath "/usr/share/fonts/URW" FontPath "/usr/share/fonts/speedo" FontPath "/usr/share/fonts/artwiz-fonts" FontPath "/usr/share/fonts/cyrillic" FontPath "/usr/share/fonts/truetype" FontPath "/usr/share/fonts/TTF" FontPath "/usr/share/fonts/uni:unscaled" FontPath "/usr/local/share/fonts" FontPath "/opt/kde3/share/fonts" InputDevices "/dev/gpmdata" InputDevices "/dev/input/mice" EndSection Section "ServerFlags" Option "AllowMouseOpenFail" "on" Option "IgnoreABI" "on" EndSection Section "Module" Load "dbe" Load "type1" Load "freetype" Load "extmod" Load "glx" Load "dri" EndSection Section "InputDevice" Driver "kbd" Identifier "Keyboard[0]" Option "Protocol" "Standard" Option "XkbLayout" "us" Option "XkbModel" "microsoftpro" Option "XkbRules" "xfree86" EndSection Section "InputDevice" Driver "mouse" Identifier "Mouse[1]" Option "Buttons" "5" Option "Device" "/dev/input/mice" Option "Name" "Microsoft Wheel Mouse Optical" Option "Protocol" "explorerps/2" Option "Vendor" "Sysp" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Mouse[3]" Driver "synaptics" Option "Device" "/dev/input/mice" Option "Emulate3Buttons" "on" Option "Name" "Touchpad" Option "SHMConfig" "on" Option "Vendor" "Synaptics" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" Identifier "Monitor[0]" VendorName "TOSHIBA" ModelName "TOSHIBA 17IN TRUEBRIGHT" UseModes "Modes[0]" DisplaySize 367 230 HorizSync 30.0 - 70.0 VertRefresh 43.0 - 60.0 Option "CalcAlgorithm" "XServerPool" Option "DPMS" Option "PreferredMode" "1440x900" EndSection Section "Modes" Identifier "Modes[0]" EndSection Section "Screen" DefaultDepth 24 SubSection "Display" Depth 15 Modes "1440x900" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 16 Modes "1440x900" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 24 Modes "1440x900" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 8 Modes "1440x900" "1024x768" "800x600" EndSubSection Device "Device[0]" Identifier "Screen[0]" Monitor "Monitor[0]" EndSection Section "Device" BoardName "RV350 NP" # BusID "1:5:0" Driver "radeon" Identifier "Device[0]" # Option "GARTSize" "32" VendorName "ATI" EndSection Section "ServerLayout" Identifier "Layout[all]" InputDevice "Keyboard[0]" "CoreKeyboard" InputDevice "Mouse[1]" "CorePointer" InputDevice "Mouse[3]" "SendCoreEvents" Option "Clone" "off" Option "Xinerama" "off" Screen 0 "Screen[0]" 0 0 EndSection Section "DRI" Group "video" Mode 0660 EndSection Section "Extensions" Option "Composite" "true" Option "DAMAGE" "true" EndSection -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
Excerpts from David C. Rankin, J.D.,P.E.'s message of So Mai 03 12:11:04 +0200 2009:
(1) My laptop has an Atheros card and is happily using the madwifi driver. The only problem is that I'm starting it manually and need to know where to put the pieces to have it start automatically. Basically, it takes 3 commands to get my wifi going:
ESSID=${1:-skyline} IFACE=${2:-wlan0}
iwconfig ${IFACE} essid "${ESSID}"
wpa_supplicant -i${IFACE} -Dwext -c/etc/wpa_supplicant.conf -d -B
/var/log/wpa_start.log 2>&1
sleep 2 # This doesn't count as a command
dhcpcd wlan0
My question is "Where do I put this stuff to make it happen when I start Arch??
Install the netcfg package, create a profile under /etc/network.d (there are some examples, so you shouldn't have any problem), and edit /etc/rc.conf: add the name of your profile into "NETWORKS=(...)" and add 'net-profiles' to your DAEMONS. -- Jan
On Sunday 03 May 2009 05:21:05 Jan Spakula wrote:
Excerpts from David C. Rankin, J.D.,P.E.'s message of So Mai 03 12:11:04 +0200 2009:
(1) My laptop has an Atheros card and is happily using the madwifi driver. The only problem is that I'm starting it manually and need to know where to put the pieces to have it start automatically. Basically, it takes 3 commands to get my wifi going:
ESSID=${1:-skyline} IFACE=${2:-wlan0}
iwconfig ${IFACE} essid "${ESSID}"
wpa_supplicant -i${IFACE} -Dwext -c/etc/wpa_supplicant.conf -d -B
/var/log/wpa_start.log 2>&1
sleep 2 # This doesn't count as a command
dhcpcd wlan0
My question is "Where do I put this stuff to make it happen when I start Arch??
Install the netcfg package, create a profile under /etc/network.d (there are some examples, so you shouldn't have any problem), and edit /etc/rc.conf: add the name of your profile into "NETWORKS=(...)" and add 'net-profiles' to your DAEMONS.
-- Jan
Jan, Does net-profiles need to go after 'network' (I would think so), but not knowing better, I thought I would ask since the wiki just says: eg: DAEMONS=(... net-profiles ...). -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
On Sunday 03 May 2009 05:21:05 Jan Spakula wrote:
Excerpts from David C. Rankin, J.D.,P.E.'s message of So Mai 03 12:11:04 +0200 2009:
(1) My laptop has an Atheros card and is happily using the madwifi driver. The only problem is that I'm starting it manually and need to know where to put the pieces to have it start automatically. Basically, it takes 3 commands to get my wifi going:
ESSID=${1:-skyline} IFACE=${2:-wlan0}
iwconfig ${IFACE} essid "${ESSID}"
wpa_supplicant -i${IFACE} -Dwext -c/etc/wpa_supplicant.conf -d -B
/var/log/wpa_start.log 2>&1
sleep 2 # This doesn't count as a command
dhcpcd wlan0
My question is "Where do I put this stuff to make it happen when I start Arch??
Install the netcfg package, create a profile under /etc/network.d (there are some examples, so you shouldn't have any problem), and edit /etc/rc.conf: add the name of your profile into "NETWORKS=(...)" and add 'net-profiles' to your DAEMONS.
-- Jan
Jan, While I'm at it, where can I turn the default attempt to start 'eth0' off. All I care about is wireless on my laptop. If I need the wired connection I can go start it manually, but I'd like to get rid of the ... waiting and the [Fail] on boot. I thought about removing 'main' from the NETWORK section, but I didn't want to kill the loopback setup (if that's where it is done). What say the gurus? Where do I turn off the attempt to start eth0? -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
http://wiki.archlinux.org/index.php/Networkmanager or http://wiki.archlinux.org/index.php/Wicd Both explain how depending on what you are running. On Mon, May 4, 2009 at 11:54 AM, David C. Rankin, J.D.,P.E. <drankinatty@suddenlinkmail.com> wrote:
On Sunday 03 May 2009 05:21:05 Jan Spakula wrote:
Excerpts from David C. Rankin, J.D.,P.E.'s message of So Mai 03 12:11:04 +0200 2009:
(1) My laptop has an Atheros card and is happily using the madwifi driver. The only problem is that I'm starting it manually and need to know where to put the pieces to have it start automatically. Basically, it takes 3 commands to get my wifi going:
ESSID=${1:-skyline} IFACE=${2:-wlan0}
iwconfig ${IFACE} essid "${ESSID}"
wpa_supplicant -i${IFACE} -Dwext -c/etc/wpa_supplicant.conf -d -B
/var/log/wpa_start.log 2>&1
sleep 2 # This doesn't count as a command
dhcpcd wlan0
My question is "Where do I put this stuff to make it happen when I start Arch??
Install the netcfg package, create a profile under /etc/network.d (there are some examples, so you shouldn't have any problem), and edit /etc/rc.conf: add the name of your profile into "NETWORKS=(...)" and add 'net-profiles' to your DAEMONS.
-- Jan
Jan,
While I'm at it, where can I turn the default attempt to start 'eth0' off. All I care about is wireless on my laptop. If I need the wired connection I can go start it manually, but I'd like to get rid of the ... waiting and the [Fail] on boot. I thought about removing 'main' from the NETWORK section, but I didn't want to kill the loopback setup (if that's where it is done). What say the gurus? Where do I turn off the attempt to start eth0?
-- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
David C. Rankin, J.D.,P.E. wrote:
While I'm at it, where can I turn the default attempt to start 'eth0' off.
in rc.conf: # Interfaces to start at boot-up (in this order) # Declare each interface then list in INTERFACES # - prefix an entry in INTERFACES with a ! to disable it ... INTERFACES=(lo !eth0 eth1) DR
Excerpts from David Rosenstrauch's message of Mo Mai 04 19:05:09 +0200 2009:
David C. Rankin, J.D.,P.E. wrote:
While I'm at it, where can I turn the default attempt to start 'eth0' off.
# Interfaces to start at boot-up (in this order) # Declare each interface then list in INTERFACES # - prefix an entry in INTERFACES with a ! to disable it
INTERFACES=(lo !eth0 eth1)
Actually, in the majority of cases you don't need 'lo' interface in INTERFACES, since it's brought up during the boot process (in rc.sysinit), so unless you want to have a possibility of disabling it by bringing down the network daemon (which is rarely desired), you don't need it there. Likewise, the interfaces managed by the netcfg2's net-profiles don't need to be in INTERFACES, otherwise you might get some undesired behavior (like taking the wireless interface down when shutting down the network daemon). In fact, the network daemon and the net-profiles daemon are independent. So if you only use your wireless interface and use net-profiles for it, you can disable the 'network' daemon altogether. Best, Jan
On Monday 04 May 2009 12:05:09 David Rosenstrauch wrote:
David C. Rankin, J.D.,P.E. wrote:
While I'm at it, where can I turn the default attempt to start 'eth0' off.
in rc.conf:
# Interfaces to start at boot-up (in this order) # Declare each interface then list in INTERFACES # - prefix an entry in INTERFACES with a ! to disable it
...
INTERFACES=(lo !eth0 eth1)
DR
Duh (Slaps self repeatedly.....) Something about "being blind in one eye and can't see out of the other" comes to mind. Thanks DR for curing the CRI... Thanks also Dwight for the links hopefull my other eye will start working ;-) -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
participants (4)
-
David C. Rankin, J.D.,P.E.
-
David Rosenstrauch
-
Dwight Schauer
-
Jan Spakula