Re: [SLUG] problem with wireless

2005-07-11 Thread Simon Wong
On Mon, 2005-07-11 at 10:44 +1000, David wrote:
 From a fresh install of Ubuntu Hoary, specifying wireless for my net 
 connection, wireless fails to connect. Signal is NOT a problem.

You should make sure that you have the required kernel module
in /etc/modules so that it is loaded at boot time.

I found that my Centrino 2100 (module: ipw2100) did not work with the
Ubuntu installer (no I forgot to file a bug :-(.

I manually set it up in /etc/network/interfaces like:

iface eth1 inet dhcp
creates eth1
name Wireless LAN
pre-up modprobe ipw2100 ifname=eth1
pre-up iwconfig eth1 key [1] xx
pre-up iwconfig eth1 key [2] xx
pre-up iwconfig eth1 key [3] xx
pre-up iwconfig eth1 key [4] xx
pre-up iwconfig eth1 nick name
pre-up iwconfig eth1 power off
wireless_mode Managed
wireless_nick name
down modprobe -r ipw2100
wireless-essid ESSIDNAME
wireless-key open [2]

This is more the Debian way than the Ubuntu way I guess.

As long as you ensure that the module is loaded, it should show up in
the networking GUI OK.

HTH



-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] problem with wireless

2005-07-11 Thread David
On Mon, Jul 11, 2005 at 01:00:26PM +1000, Visser, Martin wrote:
 David,
 
 The interfaces that Ubuntu tries to bring up at boot time is determined
 basically by the contents of /etc/network/interfaces. (This is
 configured by the network GUI tool)
 
 You might want to man interfaces and ifup to get a feeling of what
 is going on. A simple problem that you might have is that your wireless
 interface (eth1 or whatever) might not be marked as auto.

auto ath0 is not put in the configuration file by the Ubuntu install, but 
I tried putting it there without result. I'm slightly familiar with the 
interfaces file. I've done a kludge which works, although it's pretty 
ugly.

I've configured both eth0 and ath0 in the interfaces file, and put a three 
line script in /etc/init.d/rcS.d which removes the route to eth0 after the 
network comes up.

#!/bin/bash
route del default eth0
echo Horrible Kludge

That actually works! I can't say I really know why. If I don't remove the 
route, there are two default routes which causes networking to get 
confused. Needless to say, I'm not using ethernet :-) The only good thing 
is that the people using the machine will never know how ugly that is.

 
 Also of consideration is that depending on how your wireless interface
 is physically integrated (my HP/Compaq laptop uses a special USB
 interface) might also determine when it is available to be upped (it
 might be hotpluggable). Do you have a Function-F2 or somesuch that turns
 wireless on or off - this might also cause the non-appearance of the
 device?

The pcmcia card is hotpluggable (which I only know because it comes to 
life during the hotplug boot process). I don't know anything about 
a special function key (how would I find out? is this hardware specific?), 
but the wireless always connects but only after eth0 is activated. 

 
 You probably need to check out the tail of /var/log/kern.log and
 /var/log/messages for pertinent warnings/errors. 
 

I've left it at the office, so next time I've got the machine in my hands 
I'll check the logs. For some reason I didn't think to do that. Lots of 
other people seem to be using the atheros cards without any problems, so I 
guess it's something specific that I'm doing. This problem exists after a 
bog standard, unammended Ubuntu Hoary install.

Many thanks...

David.

 
 I can't get my wireless to connect at boot. This is causing me
 embarrassment because I keep telling everyone they should use Linux :(
 
 From a fresh install of Ubuntu Hoary, specifying wireless for my net
 connection, wireless fails to connect. Signal is NOT a problem.
 
 HOWEVER: If I deactivate wireless, manually create an ethernet
 connection 
 with the network panel, activate ethernet, deactivate ethernet, then 
 activate wireless.. i get my wireless back! I've been able to replicate 
 this consistantly.
 
 Simply restarting networking doesn't work. I have to go through that 
 ritual.
 
 Without doing that, all the settings in the network panel look OK 
 but the MAC address shown by iwconfig is FF:FF:FF:FF:FF:FF and the 
 flashing lights indicate no connection. ifconfig gives the right ip 
 address etc and route shows the right gateway (192.168.0.1) on ath0
 
 Dell Inspiron 4000, Netgear WGT624v2 AP, Netgear WG511T pcmcia card,
 atheros chipset, using WEP 64bit key and static IP.
 
 This is getting to be a showstopper for using Ubuntu. Works fine for 
 WinME dual booted on the same machine :(
 
 If anyone is getting good results using a similar set up, I'd love to
 know 
 what I'm doing wrong.
 
 
 regards...
 
 David.
 
 PS: i've tried apt-get update, apt-get upgrade but that made no 
 difference.
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] problem with wireless

2005-07-11 Thread David
On Mon, Jul 11, 2005 at 04:52:14PM +1000, Simon Wong wrote:
 On Mon, 2005-07-11 at 10:44 +1000, David wrote:
  From a fresh install of Ubuntu Hoary, specifying wireless for my net 
  connection, wireless fails to connect. Signal is NOT a problem.
 
 You should make sure that you have the required kernel module
 in /etc/modules so that it is loaded at boot time.
 
 I found that my Centrino 2100 (module: ipw2100) did not work with the
 Ubuntu installer (no I forgot to file a bug :-(.
 
 I manually set it up in /etc/network/interfaces like:
 
 iface eth1 inet dhcp
 creates eth1
 name Wireless LAN
 pre-up modprobe ipw2100 ifname=eth1
 pre-up iwconfig eth1 key [1] xx
 pre-up iwconfig eth1 key [2] xx
 pre-up iwconfig eth1 key [3] xx
 pre-up iwconfig eth1 key [4] xx
 pre-up iwconfig eth1 nick name
 pre-up iwconfig eth1 power off
 wireless_mode Managed
 wireless_nick name
 down modprobe -r ipw2100
 wireless-essid ESSIDNAME
 wireless-key open [2]
 
 This is more the Debian way than the Ubuntu way I guess.
 
 As long as you ensure that the module is loaded, it should show up in
 the networking GUI OK.


It DOES show up in the gui. It just does this wierd behaviour where it 
will only work once the ethernet has been brought up. See my previous post 
about faking an ethernet connection to force it to work.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Telstra ADSL bridge mode on Linux

2005-07-11 Thread Sridhar Dhanapalan
On Mon, 11 Jul 2005 14:41, Peter Rundle [EMAIL PROTECTED] wrote:
 I actually want the IP available to the Linux box so that I can do cool
 and groovy network thinks like Masquerade, proxy, reverse proxy etc. I
 could let the Modem hold the IP but then it's not available to the
 reverse proxy. Sounds like Roaring Penguin will have to be it.

Would a half-bridge setup work for you? That's how I have my modem set up. I 
gave it a NAT rule to forward all packets to my GNU/Linux firewall/router, 
which decides what to block, what to accept and what to forward to client 
workstations.

The end effect is similar to a full-bridge mode, but the modem handles the 
ADSL connection. I don't need to mess around with PPPoE clients on the 
router. This setup also allows me to connect via PPPoA, which I find to be a 
little better than PPPoE (YMMV).

 Personally I'd just go with Internode (no I don't work or have any
 association with them, just had good service) but then I'm not the one
 making the political decisions.

I am with Internode and I think they're excellent. Their CEO is a big Mac fan, 
and as a company they are very friendly towards users of alternate OSs (i.e. 
anything but Windows).

-- 
Sridhar Dhanapalan  [Yama | http://www.pclinuxonline.com/]
  {GnuPG/OpenPGP: http://dhanapalan.webhop.net/yama.asc
   0x049D38B4 : A7A9 8A02 78CB AB1B FCE4 EEC6 2DD9 249B 049D 38B4}

The only people who like Microsoft are those who don't understand. When 
people understand what Microsoft is up to, they're outraged. -- Tim O'Reilly


pgpo8vwXWNXPf.pgp
Description: PGP signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Retreiving data from a borked CF card

2005-07-11 Thread Erik de Castro Lopo
Dear Dr Slug,

I have a flash card out of my camera that I'm pretty sure 
still has some pictures on it. The camera recognises the
card but says its empty. If I put the card in my card 
reader, Linux refuses to mount it (same with MacOSX and
'doze).

I've had something similar in the past, but I as able to
mount the card, dd the information off it and retreive the
pictures from the dd image using a Python script I wrote.

However, this time, the card won't mount, although the camera
reads it quite happily.

Anyone have any ideas?

Cheers,
Erik
-- 
+---+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+---+
Linux is produced to be used, whereas the others are produced
to be sold  -- Bobby D. Bryant
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Retreiving data from a borked CF card

2005-07-11 Thread James Purser
On Mon, 2005-07-11 at 22:07, Erik de Castro Lopo wrote:
 Dear Dr Slug,
 
 I have a flash card out of my camera that I'm pretty sure 
 still has some pictures on it. The camera recognises the
 card but says its empty. If I put the card in my card 
 reader, Linux refuses to mount it (same with MacOSX and
 'doze).
 
 I've had something similar in the past, but I as able to
 mount the card, dd the information off it and retreive the
 pictures from the dd image using a Python script I wrote.
 
 However, this time, the card won't mount, although the camera
 reads it quite happily.
 
 Anyone have any ideas?
 
 Cheers,
 Erik
 -- 
 +---+
   Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
 +---+
 Linux is produced to be used, whereas the others are produced
 to be sold  -- Bobby D. Bryan
Have you tried doing a direct dd from the dev entry instead of the mount
point?
-- 
James Purser
http://k-sit.com
Skype: purserj1977

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Retreiving data from a borked CF card

2005-07-11 Thread Matthew Hannigan
On Mon, Jul 11, 2005 at 10:07:20PM +1000, Erik de Castro Lopo wrote:
 Dear Dr Slug,
 
 I have a flash card out of my camera that I'm pretty sure 
 still has some pictures on it. The camera recognises the
 card but says its empty. If I put the card in my card 
 reader, Linux refuses to mount it (same with MacOSX and
 'doze). [ ... ]

You could try 

http://www.cgsecurity.org/photorec.html

--
Matt


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Retreiving data from a borked CF card

2005-07-11 Thread Matthew Hannigan
On Mon, Jul 11, 2005 at 10:20:48PM +1000, James Purser wrote:
  I've had something similar in the past, but I as able to
  mount the card, dd the information off it and retreive the
  pictures from the dd image using a Python script I wrote.

Er yeah I didn't read that properly.  The stuff should be dd'd
off or mounted, not both.  Am I still missing something?

Matt
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Retreiving data from a borked CF card

2005-07-11 Thread Erik de Castro Lopo
James Purser wrote:

 Have you tried doing a direct dd from the dev entry instead of the mount
 point?

Yeah, Linux reports No medium found.

Erik
-- 
+---+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+---+
Failure is not an option. It comes bundled with your Microsoft
product.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Retreiving data from a borked CF card

2005-07-11 Thread Erik de Castro Lopo
Matthew Hannigan wrote:

 On Mon, Jul 11, 2005 at 10:20:48PM +1000, James Purser wrote:
   I've had something similar in the past, but I as able to
   mount the card, dd the information off it and retreive the
   pictures from the dd image using a Python script I wrote.
 
 Er yeah I didn't read that properly.  The stuff should be dd'd
 off or mounted, not both.  Am I still missing something?

Yeah, it won't mount and it won't dd.

Erik
-- 
+---+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+---+
It's not that perl programmers are idiots, it's that the
language rewards idiotic behavior in a way that no other
language or tool has ever done. --  Erik Naggum
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Retreiving data from a borked CF card

2005-07-11 Thread James Purser
On Mon, 2005-07-11 at 22:34, Erik de Castro Lopo wrote:
 Matthew Hannigan wrote:
 
  On Mon, Jul 11, 2005 at 10:20:48PM +1000, James Purser wrote:
I've had something similar in the past, but I as able to
mount the card, dd the information off it and retreive the
pictures from the dd image using a Python script I wrote.
  
  Er yeah I didn't read that properly.  The stuff should be dd'd
  off or mounted, not both.  Am I still missing something?
 
 Yeah, it won't mount and it won't dd.
 
 Erik
 -- 
 +---+
   Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
 +---+
 It's not that perl programmers are idiots, it's that the
 language rewards idiotic behavior in a way that no other
 language or tool has ever done. --  Erik Naggum
Three things spring to mind, either the card reader itself is having
troubles, the card is truly borked or the card simply needs to be
reformatted. The alternative is to check if the camera itself has a usb
connection and see if the card will mount through that.
-- 
James Purser
http://k-sit.com
Skype: purserj1977

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Telstra ADSL bridge mode on Linux

2005-07-11 Thread Peter Rundle

Sridhar Dhanapalan wrote:

Would a half-bridge setup work for you? That's how I have my modem set up. I 
gave it a NAT rule to forward all packets to my GNU/Linux firewall/router, 
which decides what to block, what to accept and what to forward to client 
workstations.

snipped

Sridhar,

That sounds like an interesting solution. I assume that you are still 
using two interfaces in the Linux box, one going to the Adsl modem, and 
one going to the Lan. Do you just run a private IP network between the 
modem and the Linux Box?


Thanks for the tip


Pete

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Telstra ADSL bridge mode on Linux

2005-07-11 Thread Sridhar Dhanapalan
On Tue, 12 Jul 2005 08:40, Peter Rundle [EMAIL PROTECTED] wrote:
 Sridhar Dhanapalan wrote:
  Would a half-bridge setup work for you? That's how I have my modem set
  up. I gave it a NAT rule to forward all packets to my GNU/Linux
  firewall/router, which decides what to block, what to accept and what to
  forward to client workstations.

 snipped

 Sridhar,

 That sounds like an interesting solution. I assume that you are still
 using two interfaces in the Linux box, one going to the Adsl modem, and
 one going to the Lan. Do you just run a private IP network between the
 modem and the Linux Box?

 Thanks for the tip

Yes, I have two interfaces on the Linux router. My setup is as you described: 
eth0 goes to the modem and eth1 goes to a hub for the client machines. I have 
a private IP network between eth0 and the modem and another between eth1 and 
the clients.

I don't think two interfaces on the router is a requirement, though. I think 
you can get away with only one interface, provided that all the client 
machines have the router listed as their gateway.

-- 
Sridhar Dhanapalan  [Yama | http://www.pclinuxonline.com/]
  {GnuPG/OpenPGP: http://dhanapalan.webhop.net/yama.asc
   0x049D38B4 : A7A9 8A02 78CB AB1B FCE4 EEC6 2DD9 249B 049D 38B4}

Recently I bought Office XP. It was quite unpleasant feeling giving so much 
money for so buggy product. ... Solution: Uninstall Office XP and Windows.
  -- Georgi Guninski, security expert, http://www.guninski.com, 2001-07-12


pgpHSBctJhqjD.pgp
Description: PGP signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Erratic wireless connection (sound footnote)

2005-07-11 Thread elliott-brennan

Hi all,

I have 5.0.4 installed (dual boot with Windersninetyeight) on an old 
Compaq 7770DMT Armada.


I have a D-Link DWL-650+ wireless card - picked up by Ubuntu 'out-of-the 
-box'.


I've set everything to default (on the w'router) so there's no WEP etc.
This is in my living room - the only place I can get a wireless connection.

Ubuntu recognises the card and I've set the wlan0 as default and it 
starts on boot BUT the connection seem quite unstable with Ubuntu but 
less so with Winders (!) - is this something to do with Ubuntu's 
connection to the card


Is there a wireless signal strength app I can install to check what it's 
able to 'see'?


Is there something else I need to look at?

I'm new to wireless in Linux, and so would appreciate any assistance 
able to be offered. I'm assuming there are other settings I need to 
change, but I'm afraid I'm not sure where to start.


(Footnote. Still can't get sound going (ESS 1868 I think, but I'm 
working on that - unless someone has resolved this and has a few notes 
for me :)


Many thank,

Patrick
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Microsoft Embraces Linux at Partner Conference

2005-07-11 Thread ashley maher
I got this link from my IBM linux news letter.

quote
The company (MicroSoft) made Linux a topic at its recent Worldwide
Partner Conference in Minneapolis, replete with a hands-on lab and
advice on how to compete with OSS competitors and a hands-on lab.
/quote

read the article here:
http://linuxbusinessnews.sys-con.com/read/109103.htm

Interesting tack?

Regards,

Ashley

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Retreiving data from a borked CF card

2005-07-11 Thread Rowling, Jill
I've had something similar with a USB device and fixed it with:
 # umount -f /dev/whatever
(even though it wasn't mounted)
Re-mounting was OK afterwards.

Cheers,

Jill
-- 
Jill Rowling, System Administrator
Eng. Systems Dept, Aristocrat Technologies Australia
Level 2, 55 Mentmore Ave Rosebery NSW 2018
Phone: (02) 9697-4484, Fax: (02) 9667-3160
-- 

--
IMPORTANT NOTICES
This email (including any documents referred to in, or attached, to this
email) may contain information that is personal, confidential or the subject
of copyright or other proprietary rights in favour of Aristocrat, its
affiliates or third parties. This email is intended only for the named
addressee. Any privacy, confidence, copyright or other proprietary rights in
favour of Aristocrat, its affiliates or third parties, is not lost because
this email was sent to you by mistake.

If you received this email by mistake you should: (i) not copy, disclose,
distribute or otherwise use it, or its contents, without the consent of
Aristocrat or the owner of the relevant rights; (ii) let us know of the
mistake by reply email or by telephone (+61 2 9413 6300); and (iii) delete
it from your system and destroy all copies.

Any personal information contained in this email must be handled in
accordance with applicable privacy laws.

Electronic and internet communications can be interfered with or affected by
viruses and other defects. As a result, such communications may not be
successfully received or, if received, may cause interference with the
integrity of receiving, processing or related systems (including hardware,
software and data or information on, or using, that hardware or software).
Aristocrat gives no assurances in relation to these matters.

If you have any doubts about the veracity or integrity of any electronic
communication we appear to have sent you, please call +61 2 9413 6300 for
clarification.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Erratic wireless connection (sound footnote)

2005-07-11 Thread David
On Tue, Jul 12, 2005 at 10:35:17AM +1000, elliott-brennan wrote:
 Hi all,
 
 I have 5.0.4 installed (dual boot with Windersninetyeight) on an old 
 Compaq 7770DMT Armada.
 
 I have a D-Link DWL-650+ wireless card - picked up by Ubuntu 'out-of-the 
 -box'.
 
 I've set everything to default (on the w'router) so there's no WEP etc.
 This is in my living room - the only place I can get a wireless connection.
 
 Ubuntu recognises the card and I've set the wlan0 as default and it 
 starts on boot BUT the connection seem quite unstable with Ubuntu but 
 less so with Winders (!) - is this something to do with Ubuntu's 
 connection to the card


Check out my posts of a coupla days ago: [SLUG] problem with wireless

I've had very little response to this problem either on the Ubuntu list or 
here (with due respect with those who tried!).

I'm not sure if your problem is the same as mine - I have an 
Netgear/atheros card - but so far after applying my kludge-fix, mine has 
stayed stable for three days through about 8 re-boots.

Email off list if want to talk further.

David.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Microsoft Embraces Linux at Partner Conference

2005-07-11 Thread Howard Lowndes

keep your friends close but your enemies closer
- The Godfather (??)

ashley maher wrote:

I got this link from my IBM linux news letter.

quote
The company (MicroSoft) made Linux a topic at its recent Worldwide
Partner Conference in Minneapolis, replete with a hands-on lab and
advice on how to compete with OSS competitors and a hands-on lab.
/quote

read the article here:
http://linuxbusinessnews.sys-con.com/read/109103.htm

Interesting tack?

Regards,

Ashley



--
Howard.
LANNet Computing Associates - Your Linux people http://lannet.com.au
--
When you just want a system that works, you choose Linux;
When you want a system that just works, you choose Microsoft.
--
Flatter government, not fatter government;
Get rid of the Australian states.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html