Date: Thu, 25 Oct 2007 16:41:35 +0000 (UTC)
From: Tyler Smith <tyler.smith@mail.mcgill.ca>
To: debian-user@lists.debian.org
Subject: wireles /wpa_supplicant - where to start?
Message-ID: <slrnfi1hpv.6dp.tyler.smith@blackbart.mynetwork>
Hi,
I'm trying to set myself up on my University's wireless network. I can
successfully connect to my home wireless using:
iwconfig ath0 key 676bd87bc0dd5315f1cd8de794
dhclient ath0
and to unencrypted public access points using:
ifconfig ath0 down
iwconfig ath0 key off
ifconfig ath0 up
iwconfig ath0 ap any
dhclient ath0
However, my University uses WPA, TKIP, PEAP and EAP-MSCHAP v2. I was
advised to try network manager, but I couldn't get either
network-manager-gnome or kdenetwork-manager to work on my laptop
running fluxbox. network-manager-gnome reported that network manager
wasn't running even when it was, and kdenetwork-manager reported that
it could not find any network devices.
I couldn't figure this out, so I removed network manager et al and
installed wpa_supplicant. I read the man page, and wrote the following
wpa_supplicant.conf script:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=tyler
network={
ssid="SMU_PUBLIC"
key_mgmt=WPA-EAP IEEE8021X NONE
pairwise=TKIP
eap=MSCHAPV2 PEAP
identity="my-university-user-name"
password="my-university-password"
}
I've attached the error message for this below. At this point I have
no idea what to do. I don't know if the problem is the
wpa_supplicant.conf, my wireless driver (madwifi), something needed in
interfaces? If anyone can point me in the right direction that would
be great.
Thanks,
Tyler
root:tyler# wpa_supplicant -iath0 -c/etc/wpa_supplicant.conf -d
Initializing interface 'ath0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='tyler' (DEPRECATED)
Line 11: removed CCMP from group cipher list since it was not allowed for pairwise cipher
Priority group 0
id=0 ssid='SMU_PUBLIC'
Initializing interface (2) 'ath0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Interface ath0 set UP - waiting a second for the driver to complete initialization
SIOCGIWRANGE: WE(compiled)=20 WE(source)=13 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:16:cf:1d:c9:e4
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
ctrl_interface_group=1000 (from group name 'tyler')
Added interface ath0
Ignore event for foreign ifindex 6
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a new scan to speed up initial association
Received 760 bytes of scan results (3 BSSes)
Scan results: 3
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:16:c7:dc:00:e1 ssid='' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
1: 00:16:c7:db:e8:e0 ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE
2: 00:16:c7:dc:00:a0 ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:16:c7:dc:00:e1 ssid='' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
1: 00:16:c7:db:e8:e0 ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - SSID mismatch
2: 00:16:c7:dc:00:a0 ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - SSID mismatch
No suitable AP found.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 1002 bytes of scan results (4 BSSes)
Scan results: 4
Selecting BSS from priority group 0
Try to find WPA-enabled AP
<SNIPPED OUTPUT>
C-c C-cCTRL-EVENT-TERMINATING - signal 2 received
Removing interface ath0
State: SCANNING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_wext_set_wpa
wpa_driver_wext_set_drop_unencrypted
wpa_driver_wext_set_countermeasures
No keys have been configured - skip key clearing
Cancelling scan request
Cancelling authentication timeout
WEXT: Operstate: linkmode=0, operstate=6
Date: Thu, 25 Oct 2007 10:43:51 -0600
From: p <pplaw@pcisys.net>
To: debian-user@lists.debian.org
Subject: Re: Silly question: Where's eth0? (followup)
Message-ID: <20071025164351.GD15784@bt>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Thu, Oct 25, 2007 at 06:57:40AM -0700, Dr. Jennifer Nussbaum wrote:
> I wanted to thank everyone who responded to my
> questoin. Fortunately or unfortunately i was forced to
> reboot the machine for other reasons, and upon
> rebooting eth0 was there. Repeated suspends had no
> effect, i.e. eth0 was still there (meaning that
> suspending isnt what caused it to vanish).
>
> Since i cant repeat the problem i dont know what to do
> to try and solve it. But i am keeping the messages
> around so that if it does happen again i will be
> ready.
>
> Thank you!
>
> Jen
>
//
glad to hear you got eth0 upon reboot.
for what it's worth, on one of my etch boxen, i
don't have "sound" _sometimes_ unless i reboot.
weird.
b.
//
Date: Thu, 25 Oct 2007 13:09:28 -0400
From: Joey Hess <joeyh@debian.org>
To: Jeff Grossman <jeff@stikman.com>
Cc: debian-user@lists.debian.org
Subject: Re: Alpine and Maildir
Message-ID: <20071025170928.GD25702@kitenet.net>
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="fXStkuK2IQBfcDe+"
Content-Disposition: inline
--fXStkuK2IQBfcDe+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Jeff Grossman wrote:
> I am using Debian testing. Is it possible to set Alpine up to use Maildir
> instead of mbox style mailboxes?=20
Not until #405762 is fixed.
--=20
see shy jo
--fXStkuK2IQBfcDe+
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHIM3Id8HHehbQuO8RAlmjAKDHcPYs+SrOh5YfRNYWRFoIWjtHmwCfXezY
myp73nchUAc1I6atDUV6xLo=
=ie9V
-----END PGP SIGNATURE-----
--fXStkuK2IQBfcDe+--
Date: Thu, 25 Oct 2007 10:54:02 -0600
From: "Javier Vasquez" <jevv.cr@gmail.com>
To: debian-user@lists.debian.org
Subject: Re: aptitude upgrade through proxy
Message-ID:
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
On 10/25/07, Daniel Burrows <dburrows@debian.org> wrote:
> On Wed, Oct 24, 2007 at 08:51:44PM -0600, Javier Vasquez <jevv.cr@gmail.com> was heard to say:
> > I've used http_proxy/ftp_proxy to enable apt-get to download packages
> > through a proxy server whenever required.
> >
> > However I've tried the same environment variables with aptitude with
> > no luck... Looks like aptitude doesn't pay attention to them. Does
> > any one know how to overcome this? Also, I liked the environment
> > variables solution because it can be temporally enabled/disabled,
> > without having to edit a config file everytime one wants to change...
> > I've tried looking in the man page, but didn't find anything...
>
> How are you running aptitude and apt-get (command-lines)? In particular,
> are you running aptitude as a user and then automatically su-ing to root?
> I wouldn't be 100% confident that this preserves environment variables.
>
> Other than that, I'm not sure what could be happening: aptitude
> doesn't clear out the environment, and the code that reads http_proxy is
> used in both aptitude and apt-get.
>
> Daniel
When I configure apt.conf.d/proxy, then things work... I use apt-get
and aptitude with sudo as a non root user. Might be the the
environment variables are lost with sudo? I don't recall if when I
used apt-get with the environment variables I did it so under root and
not with sudo. I can't tell... I'd prefer using environment
variables, just to avoid overwriting configuration file every time...
Thanks a lot,
--
Javier
Date: Thu, 25 Oct 2007 09:55:42 -0700 (PDT)
From: "Jeff Grossman" <jeff@stikman.com>
To: debian-user@lists.debian.org
Subject: Alpine and Maildir
Message-ID: <9557.72.166.138.2.1193331342.squirrel@www.stikman.com>
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
I am using Debian testing. Is it possible to set Alpine up to use Maildi=
r
instead of mbox style mailboxes? If not, I guess I can connect to the
inbox using imap, but how do I set up Alpine to also see my folders in th=
e
~/Maildir directory?
Thanks,
Jeff
Date: Thu, 25 Oct 2007 13:13:21 -0400
From: Ralph Katz <ralph.katz@rcn.com>
To: debian-user <debian-user@lists.debian.org>
Subject: Re: file system on / grew over night?
Message-ID: <4720CEB1.3040205@rcn.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
On 10/25/2007 10:08 AM, Michael A. Miller wrote:
> I came in this morning to find that the / filesystem on a machine
> is at 100%. This is on a stable machine installed with one
> partition as per the installer suggestions. I've cleared off
> enough space to be able to get log in and find that the disk
> seems full:
>
> /dev/hda1 71G 65G 3.0G 96% /
>
> But when I du to find out what caused it, I can only find 47 GB
> in use. So it seems that something happened to create 18 GB that
> I cannot find. Does anyone have suggestions as to how to trouble
> shoot this?
>
> Thanks, Mike
>
I'm no expert, but since you have no replies... Why not play it safe,
shutdown the system. Reboot with a rescue CD or knoppix to examine the
system safely. For example, if you've been rooted, all the executables
would be suspect, thus leading you to not see the 18 GB.
Keep us posted.
Ralph
Date: Thu, 25 Oct 2007 12:34:14 -0400
From: Wayne Topa <linuxone@intergate.com>
To: debian-user@lists.debian.org
Subject: Re: file system on / grew over night?
Message-ID: <20071025163414.GA31230@buddy.mtntop.home>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Michael A. Miller(mmiller3@iupui.edu) is reported to have said:
> I came in this morning to find that the / filesystem on a machine
> is at 100%. This is on a stable machine installed with one
> partition as per the installer suggestions. I've cleared off
> enough space to be able to get log in and find that the disk
> seems full:
>
> /dev/hda1 71G 65G 3.0G 96% /
>
> But when I du to find out what caused it, I can only find 47 GB
> in use. So it seems that something happened to create 18 GB that
> I cannot find. Does anyone have suggestions as to how to trouble
> shoot this?
find / -size +2G -print
or
du -chs /root
and /var, etc
aptitude autoclean | clean
W
--
Every program has at least one bug and can be shortened by at least one
instruction -- from which, by induction, one can deduce that every
program can be reduced to one instruction which doesn't work.
_______________________________________________________
Date: Thu, 25 Oct 2007 10:17:36 -0700 (PDT)
From: "Jeff Grossman" <jeff@stikman.com>
To: debian-user@lists.debian.org
Subject: Re: Alpine and Maildir
Message-ID: <14691.72.166.138.2.1193332656.squirrel@www.stikman.com>
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
> Jeff Grossman wrote:
>> I am using Debian testing. Is it possible to set Alpine up to use
>> Maildir
>> instead of mbox style mailboxes?=3D20
>
> Not until #405762 is fixed.
Thank you. I noticed it said that a Maildir patch exists for the Pine
package on Debian. I did a search on packages.debian.org and did not see
Pine listed. Is that still a package that is available?
Thanks,
jeff
Date: Thu, 25 Oct 2007 13:33:45 -0400
From: Joey Hess <joeyh@debian.org>
To: Jeff Grossman <jeff@stikman.com>
Cc: debian-user@lists.debian.org
Subject: Re: Alpine and Maildir
Message-ID: <20071025173345.GG25702@kitenet.net>
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="RDS4xtyBfx+7DiaI"
Content-Disposition: inline
--RDS4xtyBfx+7DiaI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Jeff Grossman wrote:
> Thank you. I noticed it said that a Maildir patch exists for the Pine
> package on Debian. I did a search on packages.debian.org and did not see
> Pine listed. Is that still a package that is available?
http://packages.debian.org/pine-tracker
Pine itself has to be built from source due to an abnoxious license.
--=20
see shy jo
--RDS4xtyBfx+7DiaI
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHINN5d8HHehbQuO8RAusrAJ9BbfQjnz0MtCOlsAxyXJpJhlxfLgCcDAFA
84hdnu5CN+dpM2ojKaVWYF8=
=pb3Y
-----END PGP SIGNATURE-----
--RDS4xtyBfx+7DiaI--
Date: Thu, 25 Oct 2007 10:43:46 -0700 (PDT)
From: "Jeff Grossman" <jeff@stikman.com>
To: "Debian Users" <debian-user@lists.debian.org>
Subject: Re: Alpine and Maildir
Message-ID: <23839.72.166.138.2.1193334226.squirrel@www.stikman.com>
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
> Jeff Grossman wrote:
>> Thank you. I noticed it said that a Maildir patch exists for the Pine
>> package on Debian. I did a search on packages.debian.org and did not
>> see
>> Pine listed. Is that still a package that is available?
>
> http://packages.debian.org/pine-tracker
>
> Pine itself has to be built from source due to an abnoxious license.
OK. Thanks for the information.
Jeff
Date: Thu, 25 Oct 2007 10:46:45 -0700 (PDT)
From: Keith Christian <keithchristian@yahoo.com>
To: debian-user@lists.debian.org
Subject: Re: boot process hangs on init of mysqld
Message-ID: <214062.49766.qm@web55909.mail.re3.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Quoting Keith Christian <keithchristian@yahoo.com>:
> ----- Original Message ----
> From: "debian-guy@agileitinc.com" <debian-guy@agileitinc.com>
> To: debian-user@lists.debian.org
> Sent: Thursday, October 25, 2007 8:17:58 AM
> Subject: boot process hangs on init of mysqld
>
> When my boot process starts mysqld, it hangs. How can I get it
> unstuck? I cannot ssh into the machine because the boot process
> hasn't progressed far enough. So, I cannot edit the init scripts to
> remove mysqld.
>
> Is there some key-stroke sequence I might be able to try to interrupt
> the init.d scripts? I've tried the obvious (ctl-C, ctl-D, etc.)
>
>
>
> You'll want to boot into "single user" mode. Try these steps:
>
> 1. Boot the machine --- be ready at the console keyboard to press
> "e" as in step 2 below.
>
> 2. At the GNU GRUB screen, press "e" within 1 - 2 seconds to stop
> the boot process, to edit the kernel's boot parameters.
>
> 3. Press the down arrow key to highlight the line that looks similar
> to the following:
>
> kernel /boot/vmlinuz-2-6.18-4-686 root=/dev/hda1 ro
>
> 4. With the highlight on that line, press "e" once again.
>
> 5. Screen changes to one where the line can be edited (See "Minmal
> BASH-like line editing is supported", and a prompt "grub edit >".)
>
> 6. The cursor is at the end of the line, type "single" (the line now
> reads thus:)
>
> kernel /boot/vmlinuz-2-6.18-4-686 root=/dev/hda1 ro single
>
> 7. Press the Return key.
>
> 8. The GNU GRUB screen reappears, press "b" to boot the system.
>
> 9. See a few screens of kernel messages, then a prompt "(or type
> Control-D to continue:)"
>
> 10. Type the root password (if you type Control-D, the boot process
> continues as if you weren't booting into single user mode.)
>
> 11. See a # shell prompt. Make changes to the init scripts - you
> may want to do this with the update-rc.d utility, for help, type
>
> man update-rc.d
>
> 12. When done with changes to the init script links, type "exit" at
> the # prompt, and the machine continues the boot process as usual.
>
>
> ======Keith
----- Original Message ----
From: "debian-guy@agileitinc.com" <debian-guy@agileitinc.com>
To: debian-user@lists.debian.org
Sent: Thursday, October 25, 2007 10:17:22 AM
Subject: Re: boot process hangs on init of mysqld
Thanks Keith! Unfortunately, this machine uses Lilo instead of Grub.
Can something similar be done to enter 'single user mode' when booting
using Lilo?
-- Mark
I don't have a machine with LILO on it to test with, but, try the word "single" at the LILO: prompt, e.g.
LILO: single
Press RETURN. This should bring it to single user mode, no guarantees, since I can't test.
======Keith
Date: Thu, 25 Oct 2007 21:25:37 +0300
From: Andrei Popescu <andreimpopescu@gmail.com>
To: debian-user@lists.debian.org
Subject: Re: ping www.yahoo.co.uk - connect: Invalid argument
Message-ID: <20071025182537.GB7774@think.homenet>
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v"
Content-Disposition: inline
--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, Oct 24, 2007 at 11:02:14AM +0100, Charlie Grosvenor wrote:
> Does anybody know why I would get a response of connect: Invalid argument
> when I:
>=20
> ping www.yahoo.co.uk
> I also get this error when I run commands like apt-get upgrade.
Please post the *exact* output (use copy-paste) including the command.
Regards,
Andrei
--=20
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)
--Dxnq1zWXvFF0Q93v
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHIN+hqJyztHCFm9kRAhNwAJ920tI4LYIUmJ3FyaWTjDqVcldMOQCfS3mG
ZqNj65Mdd7P8Fz415JMBLgQ=
=bpO2
-----END PGP SIGNATURE-----
--Dxnq1zWXvFF0Q93v--
Date: Thu, 25 Oct 2007 16:17:33 -0300
From: Cassiano Bertol Leal <cassianoleal@gmail.com>
To: debian-user@lists.debian.org
Subject: Waiting for root file system... ...
Message-ID: <4720EBCD.6050901@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
I am trying to make a smooth transition fom windows to Debian in my work PC.
I needed to be sure that not having win on this machine wouldn't affect
my work, since unfortunatelly we use many windows-based applications.
For that, I thought of first installing a proof-of-concept Debian inside
a VM. This way, I could go on installing Debian and all the tools I
needed without having to break my workflow.
Since I wanted to make the move from MS to freedom, before I started
with the adventure, I freed space in my HD and told the VM to use my
physical disk instead of creating a virtual one. At the moment, I have a
fully working Debian Lenny that runs smoothly inside the VM.
The current situation is as follows:
When I boot the PC, I am presented with a GRUB menu with three options:
Debian's stock kernel, the same kernel but single-user, and Windows.
Currently, I am only able to boot Windows. After doing that, When I boot
the VM, I get the same GRUB menu and can boot Debian without a problem.
The problem is when I want to boot Debian directly on the PC and not
inside the VM. The boot process starts normally, but then hangs. The
last lines that appear in the boot are:
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Done.
Begin: Waiting for root file system... ...
And from there, I can only Control-Alt-Delete or do a cold reset.
The machine is a Dell Optiplex GX280 P4-HT with 2GB RAM and a 80Gb IDE HD.
Any ideas?
Cheers,
Cassiano Leal
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHIOvNq4Bz51JiUuERAlodAKCMJ74CWTXwVDJrSdTpMyBc7/a5fQCdHRzA
/I31IGFgE05UMYK9U8TF5Yg=
=rZLg
-----END PGP SIGNATURE-----
End of debian-user-digest Digest V2007 Issue #2678
**************************************************
Received on Thu Oct 25 15:05:17 2007