[SLUG] grub error 15

2010-01-26 Thread david
After doing a routine reboot I get grub error 15 on Ubuntu 8.10

There are 3 drives on the system of which only one is bootable.
The UUID's on fstab and menu.lst match.

The bootable drive/partition is sdc3 and in the menu.lst it says (hd 0,2)

When I enter the BIOS I am only getting one option for booting into a
hard-drive, although I recollect that previously I had to select which
hard drive.

The BIOS does recognise all three hard drives as being present. I am able
to mount the bootable drive from a live CD and the data appears to be OK.

Any suggestions what has gone amiss?

-- 
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] grub error 15

2010-01-26 Thread Jeremy Visser
On 26/01/10 23:25, da...@kenpro.com.au wrote:
 After doing a routine reboot I get grub error 15 on Ubuntu 8.10

Does this error occur before or after the GRUB menu appears?

i.e. do you get presented with a menu to select which kernel at all, or
does it bomb out before it gets to that stage?

 When I enter the BIOS I am only getting one option for booting into a
 hard-drive, although I recollect that previously I had to select which
 hard drive.
 
 The BIOS does recognise all three hard drives as being present. I am able
 to mount the bootable drive from a live CD and the data appears to be OK.
 
 Any suggestions what has gone amiss?

It may well be that the GRUB MBR is simply looking at the wrong drive
for the menu.lst file. In which case, re-running grub-install would be
my first suggestion as a fix.

Jeremy.



signature.asc
Description: OpenPGP digital signature
-- 
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] Wireless Broadband?

2010-01-26 Thread Marghanita da Cruz

Ben Sand wrote:

I'm pretty sure this is the model I use now:
http://maxon.com.au/shop/product_info.php?cPath=21products_id=47
expensive from the manufacturer, but should work on Linux, you can
check with them, but they are somewhat Linux aware:
$495


This is a rather elegant solution - I 
have been using ever since the I-burst 
network was shutdown (December 2008).
Virgin Branded/Optus network Modem (was 
the best capped/shaped deal at the time)

http://www.tomw.net.au/blog/2008/12/virgin-mobile-broadband.html
3 Router: with 1 ethernet port and wifi. 
I had to replace the router after 
accidentally plugging my kogan power 
supply into it. The price went upto $160)

http://www.tomw.net.au/blog/2008/12/huawei-d100-3g-router.html



By far the most simple guaranteed solution for everyone though would
be a MiFi 2372:
http://bit.ly/NBjB7

They are around $300-400 and are probably the best device,
configuration wise, as the computer connects via WiFi.

They share their 3G connection with up to 5 devices via WiFi.

They are battery powered with around 4 hours use, but I'm fairly sure
they can just charge / operate from USB (check with manufacturer on
that one).

Internode are selling them for use on the Optus network for $329, but
these are the 900/1900/2100 verson

On Sun, Jan 24, 2010 at 8:52 PM, Amos Shapira amos.shap...@gmail.com wrote:

On 24 January 2010 10:44, Ben Sand b...@bensand.com wrote:

Missed the start of this, but, FWIW:

I have:

100MB/month: Next G
Telstra Prepaid wireless running on Maxon BP3 USB Dongle
 + modem originally used with Bigpond)
 + it uses the prepaid phone system because the 100MB data blocks are
cheaper than on the prepaid broadband plan. It's actually easier to
register the sims that way.

Thanks for the details.

Does anyone know what chipset the Telstra turbo dongle uses?

--Amos




--
Marghanita da Cruz
http://ramin.com.au
Tel: 0414-869202


--
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] grub error 15

2010-01-26 Thread david
 On 26/01/10 23:25, da...@kenpro.com.au wrote:
 After doing a routine reboot I get grub error 15 on Ubuntu 8.10

 Does this error occur before or after the GRUB menu appears?

 i.e. do you get presented with a menu to select which kernel at all, or
 does it bomb out before it gets to that stage?

 When I enter the BIOS I am only getting one option for booting into a
 hard-drive, although I recollect that previously I had to select which
 hard drive.

 The BIOS does recognise all three hard drives as being present. I am
 able
 to mount the bootable drive from a live CD and the data appears to be
 OK.

 Any suggestions what has gone amiss?

 It may well be that the GRUB MBR is simply looking at the wrong drive
 for the menu.lst file. In which case, re-running grub-install would be
 my first suggestion as a fix.



It bombs before the kernel list. I've tried running:

#grub-install /dev/sdc
Could not find device for /boot: Not found or not a block device.

fdisk reports /dev/sdc as the drive that should boot.

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


[SLUG] debugging dns resolution issues with RES_OPTIONS=debug

2010-01-26 Thread Ben Burke

Hello,

This is my first post to slug - hopefully I've understood protocol from 
reading the list for a month or so.


In the past, I've diagnosed dns client resolution issues using options 
debug in resolv.conf or setting the RES_OPTIONS environment variable as 
follows...


export RES_OPTIONS=debug

r...@aixbox:/ mailto:r...@toranim1:/  ping smh.com.au http://smh.com.au
;; res_setoptions(debug, env)..
;;  debug
;;  calling process id = 614598
;; res_nquerydomain(smh.com.au http://smh.com.au, Nil, 1, 1)
;; res_query(smh.com.au http://smh.com.au, 1, 1)
;; res_nmkquery(QUERY, smh.com.au http://smh.com.au, IN, A)
;; res_send()
;; -HEADER- opcode: QUERY, status: NOERROR, id: 467
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;;  smh.com.au http://smh.com.au, type = A, class = IN
;; Querying server (# 1) address = 10.201.4.8
;; got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 467
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;;  smh.com.au http://smh.com.au, type = A, class = IN
smh.com.au http://smh.com.au. 1m12s IN A  203.26.51.71
PING smh.com.au http://smh.com.au (203.26.51.71): 56 data bytes
--- smh.com.au http://smh.com.au ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss


This has provided a means of tracing dns resolution issues, which has 
proved to be valuable for me on many occasions - the environments have 
been AIX, Solaris and Tru64



I  use and manage two linux distros - Ubuntu 9.04 and sUSE 11.1. Both 
these distros document the options debug in the man page for resolv.conf


However, neither Ubuntu or sUSE yield any dns client trace where I'd 
expect them too.



b...@sam:~$ uname -a
Linux sam 2.6.28-17-generic #58-Ubuntu SMP Tue Dec 1 18:57:07 UTC 2009 
i686 GNU/Linux


b...@sam:~$ export RES_OPTIONS=debug
b...@sam:~$ ping www.smh.com.au
PING a1040.b.akamai.net (150.101.195.89) 56(84) bytes of data.
64 bytes from 150.101.195.89: icmp_seq=1 ttl=61 time=30.9 ms



Many moons ago, when I first read about options debug, I recall that 
gethostbyname could be built with or without various RES_OPTIONS.


So, my questions are:

1) Is this the expected behaviour on various Linux distros or am I 
missing something?

2) Can anyone advise how to enable the debug capabilities in gethostbyname?



Thanks in advance,

Ben Burke
--
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] grub error 15

2010-01-26 Thread Peter Chubb
 david == david  da...@kenpro.com.au writes:

 On 26/01/10 23:25, da...@kenpro.com.au wrote:
 After doing a routine reboot I get grub error 15 on Ubuntu 8.10
 Does this error occur before or after the GRUB menu appears?
 
 i.e. do you get presented with a menu to select which kernel at
 all, or does it bomb out before it gets to that stage?
 
 When I enter the BIOS I am only getting one option for booting
 into a hard-drive, although I recollect that previously I had to
 select which hard drive.
 
 The BIOS does recognise all three hard drives as being present. I
 am able to mount the bootable drive from a live CD and the data
 appears to be OK.
 
 Any suggestions what has gone amiss?
 It may well be that the GRUB MBR is simply looking at the wrong
 drive for the menu.lst file. In which case, re-running grub-install
 would be my first suggestion as a fix.
 


david It bombs before the kernel list. I've tried running:

david #grub-install /dev/sdc Could not find device for /boot: Not
david found or not a block device.

Hmmm.  This sounds as if the mapping from BIOS to Linux drives is
broken.

Try grub-install with the --recheck option.

--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au   ERTOS within National ICT Australia
-- 
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] grub error 15

2010-01-26 Thread david
 david == david  da...@kenpro.com.au writes:

 On 26/01/10 23:25, da...@kenpro.com.au wrote:
 After doing a routine reboot I get grub error 15 on Ubuntu 8.10
 Does this error occur before or after the GRUB menu appears?

 i.e. do you get presented with a menu to select which kernel at
 all, or does it bomb out before it gets to that stage?

 When I enter the BIOS I am only getting one option for booting
 into a hard-drive, although I recollect that previously I had to
 select which hard drive.

 The BIOS does recognise all three hard drives as being present. I
 am able to mount the bootable drive from a live CD and the data
 appears to be OK.

 Any suggestions what has gone amiss?
 It may well be that the GRUB MBR is simply looking at the wrong
 drive for the menu.lst file. In which case, re-running grub-install
 would be my first suggestion as a fix.



 david It bombs before the kernel list. I've tried running:

 david #grub-install /dev/sdc Could not find device for /boot: Not
 david found or not a block device.

 Hmmm.  This sounds as if the mapping from BIOS to Linux drives is
 broken.

 Try grub-install with the --recheck option.



The plot thickens .

# grub-install --recheck /dev/sdc3
Could not find device for /boot: Not found or not a block device


I unplugged all but the root drive and it boots perfectly. Progressively
replugging all the drives seems to have random results. There is one IDE
drive and three SATA, one of which is the rood drive and another one is in
a caddy. I have had as many as two of the four extra drives running but
can't get them all to go at once.

I'm beginning to think it's a BIOS/motherboard problem.

I've just rebooted again with only the boot drive plugged in.

-- 
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] grub error 15

2010-01-26 Thread Jake Anderson

da...@kenpro.com.au wrote:

david == david  da...@kenpro.com.au writes:
  

On 26/01/10 23:25, da...@kenpro.com.au wrote:


After doing a routine reboot I get grub error 15 on Ubuntu 8.10
  

Does this error occur before or after the GRUB menu appears?

i.e. do you get presented with a menu to select which kernel at
all, or does it bomb out before it gets to that stage?



When I enter the BIOS I am only getting one option for booting
into a hard-drive, although I recollect that previously I had to
select which hard drive.

The BIOS does recognise all three hard drives as being present. I
am able to mount the bootable drive from a live CD and the data
appears to be OK.

Any suggestions what has gone amiss?
  

It may well be that the GRUB MBR is simply looking at the wrong
drive for the menu.lst file. In which case, re-running grub-install
would be my first suggestion as a fix.



david It bombs before the kernel list. I've tried running:

david #grub-install /dev/sdc Could not find device for /boot: Not
david found or not a block device.

Hmmm.  This sounds as if the mapping from BIOS to Linux drives is
broken.

Try grub-install with the --recheck option.





The plot thickens .

# grub-install --recheck /dev/sdc3
Could not find device for /boot: Not found or not a block device


I unplugged all but the root drive and it boots perfectly. Progressively
replugging all the drives seems to have random results. There is one IDE
drive and three SATA, one of which is the rood drive and another one is in
a caddy. I have had as many as two of the four extra drives running but
can't get them all to go at once.

I'm beginning to think it's a BIOS/motherboard problem.

I've just rebooted again with only the boot drive plugged in.

  

I'll wager you have the grub MBR sitting on one of your other drives
and the bios (as most do) randomly changes the boot order when you add 
new drives, so having that one in a caddy will mess with things.

when it decides to boot off the one with the other grub you get an error.

you can zero it if you want and see if that helps
backup first
dd if=/dev/hda of=/mbrbackup.bin bs=512 count=1

then zero
dd if=/dev/zero of=/dev/hda bs=446 count=1

note the 446 bytes, if you do 512 it'll wipe the partition table (which 
is a bad thing)


if your lucky that'll be enough that the bios will skip those when it 
comes to boot time.


make sure your fstab is all done by uuid not path because that will 
probably change as you add and remove drives or the phase of the moon 
changes.





--
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] grub error 15

2010-01-26 Thread Heracles

da...@kenpro.com.au wrote:
Snip
 # grub-install --recheck /dev/sdc3
 Could not find device for /boot: Not found or not a block device
 
 
 I unplugged all but the root drive and it boots perfectly. Progressively
 replugging all the drives seems to have random results. There is one IDE
 drive and three SATA, one of which is the rood drive and another one is in
 a caddy. I have had as many as two of the four extra drives running but
 can't get them all to go at once.
 
 I'm beginning to think it's a BIOS/motherboard problem.
 
 I've just rebooted again with only the boot drive plugged in.
 
Just a thought, but some BIOSes have trouble mixing SATA and IDE drives
(Mine - Athalon64 Gigabyte board - is an example).
One option to try if the boot drive is SATA then physically set the IDE
drive to slave. It should then be moved to the end of the list. Most
older BIOSes check for IDE drives first then look for SATA drives so it
is not a great idea to mix the two.

Heracles
-- 
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] grub error 15

2010-01-26 Thread Jeremy Visser
On 27/01/10 09:56, da...@kenpro.com.au wrote:
 It bombs before the kernel list. I've tried running:
 
 #grub-install /dev/sdc
 Could not find device for /boot: Not found or not a block device.
 
 fdisk reports /dev/sdc as the drive that should boot.

Likely because you're running it from the live CD, and it's trying to
find the block device for your ramdisk.

Try this, or commands to this effect:

$ mkdir /tmp/ubuntu
$ mount -t ext3 /dev/sdc3 /tmp/ubuntu
$ grub-install --recheck --root-directory=/tmp/ubuntu /dev/sdc
$ umount /tmp/ubuntu

Jeremy.



signature.asc
Description: OpenPGP digital signature
-- 
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] grub error 15

2010-01-26 Thread david
This is still a mystery. However, I re-ordered the SATA leads so that the
root drive was on SATA 0. It now boots with all drives working. Is this
black magic? I didn't change the IDE.

Interestingly, the noise that I thought was a beetle dying in the back of
a cupboard turned out to be a noise in the power supply of this machine!
The noise started yesterday, not long before I first ran into this
problem. Is this a co-incidence? I'm now pretty sure the power supply is
on the way out.

I've been regularly re-booting this configuration for about a year without
it every causing problems previously.




 da...@kenpro.com.au wrote:
 david == david  da...@kenpro.com.au writes:

 On 26/01/10 23:25, da...@kenpro.com.au wrote:

 After doing a routine reboot I get grub error 15 on Ubuntu 8.10

 Does this error occur before or after the GRUB menu appears?

 i.e. do you get presented with a menu to select which kernel at
 all, or does it bomb out before it gets to that stage?


 When I enter the BIOS I am only getting one option for booting
 into a hard-drive, although I recollect that previously I had to
 select which hard drive.

 The BIOS does recognise all three hard drives as being present. I
 am able to mount the bootable drive from a live CD and the data
 appears to be OK.

 Any suggestions what has gone amiss?

 It may well be that the GRUB MBR is simply looking at the wrong
 drive for the menu.lst file. In which case, re-running grub-install
 would be my first suggestion as a fix.


 david It bombs before the kernel list. I've tried running:

 david #grub-install /dev/sdc Could not find device for /boot: Not
 david found or not a block device.

 Hmmm.  This sounds as if the mapping from BIOS to Linux drives is
 broken.

 Try grub-install with the --recheck option.




 The plot thickens .

 # grub-install --recheck /dev/sdc3
 Could not find device for /boot: Not found or not a block device


 I unplugged all but the root drive and it boots perfectly. Progressively
 replugging all the drives seems to have random results. There is one IDE
 drive and three SATA, one of which is the rood drive and another one is
 in
 a caddy. I have had as many as two of the four extra drives running but
 can't get them all to go at once.

 I'm beginning to think it's a BIOS/motherboard problem.

 I've just rebooted again with only the boot drive plugged in.


 I'll wager you have the grub MBR sitting on one of your other drives
 and the bios (as most do) randomly changes the boot order when you add
 new drives, so having that one in a caddy will mess with things.
 when it decides to boot off the one with the other grub you get an error.

 you can zero it if you want and see if that helps
 backup first
 dd if=/dev/hda of=/mbrbackup.bin bs=512 count=1

 then zero
 dd if=/dev/zero of=/dev/hda bs=446 count=1

 note the 446 bytes, if you do 512 it'll wipe the partition table (which
 is a bad thing)

 if your lucky that'll be enough that the bios will skip those when it
 comes to boot time.

 make sure your fstab is all done by uuid not path because that will
 probably change as you add and remove drives or the phase of the moon
 changes.







-- 
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] debugging dns resolution issues with RES_OPTIONS=debug

2010-01-26 Thread Rodolfo Martínez
Hi Ben,

You can debug most (all?) of the DNS client resolution issues with dig.

You can test all the DNS client features, from a simple query to a
full transfer zone.

Regards
Rodolfo Martínez
Dirección de Proyectos
Aleux México | http://www.aleux.com



On Tue, Jan 26, 2010 at 5:04 PM, Ben Burke ben.bu...@internode.on.net wrote:
 Hello,

 This is my first post to slug - hopefully I've understood protocol from
 reading the list for a month or so.

 In the past, I've diagnosed dns client resolution issues using options
 debug in resolv.conf or setting the RES_OPTIONS environment variable as
 follows...

 export RES_OPTIONS=debug

 r...@aixbox:/ mailto:r...@toranim1:/  ping smh.com.au http://smh.com.au
 ;; res_setoptions(debug, env)..
 ;;      debug
 ;;      calling process id = 614598
 ;; res_nquerydomain(smh.com.au http://smh.com.au, Nil, 1, 1)
 ;; res_query(smh.com.au http://smh.com.au, 1, 1)
 ;; res_nmkquery(QUERY, smh.com.au http://smh.com.au, IN, A)
 ;; res_send()
 ;; -HEADER- opcode: QUERY, status: NOERROR, id: 467
 ;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
 ;;      smh.com.au http://smh.com.au, type = A, class = IN
 ;; Querying server (# 1) address = 10.201.4.8
 ;; got answer:
 ;; -HEADER- opcode: QUERY, status: NOERROR, id: 467
 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
 ;;      smh.com.au http://smh.com.au, type = A, class = IN
 smh.com.au http://smh.com.au.             1m12s IN A      203.26.51.71
 PING smh.com.au http://smh.com.au (203.26.51.71): 56 data bytes
 --- smh.com.au http://smh.com.au ping statistics ---
 2 packets transmitted, 0 packets received, 100% packet loss


 This has provided a means of tracing dns resolution issues, which has proved
 to be valuable for me on many occasions - the environments have been AIX,
 Solaris and Tru64


 I  use and manage two linux distros - Ubuntu 9.04 and sUSE 11.1. Both these
 distros document the options debug in the man page for resolv.conf

 However, neither Ubuntu or sUSE yield any dns client trace where I'd expect
 them too.


 b...@sam:~$ uname -a
 Linux sam 2.6.28-17-generic #58-Ubuntu SMP Tue Dec 1 18:57:07 UTC 2009 i686
 GNU/Linux

 b...@sam:~$ export RES_OPTIONS=debug
 b...@sam:~$ ping www.smh.com.au
 PING a1040.b.akamai.net (150.101.195.89) 56(84) bytes of data.
 64 bytes from 150.101.195.89: icmp_seq=1 ttl=61 time=30.9 ms



 Many moons ago, when I first read about options debug, I recall that
 gethostbyname could be built with or without various RES_OPTIONS.

 So, my questions are:

 1) Is this the expected behaviour on various Linux distros or am I missing
 something?
 2) Can anyone advise how to enable the debug capabilities in gethostbyname?



 Thanks in advance,

 Ben Burke
 --
 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] debugging dns resolution issues with RES_OPTIONS=debug

2010-01-26 Thread Ben Burke

Thanks Rodolfo,

Yes, I know about dig. But the problem I'm having appears to be failure 
of dns server to respond, or a communications problem with dns server(s)


The problem I'm having is intermittent. I have a number of cron jobs 
that fail occasionally, failing to resolve a host name.


The benefit of the option debug statement in resolv.conf is that the 
trace information will be written to stdout.  This will allow me to see 
the nature of these intermittent failures.


I strongly suspect a problem with the microsoft windows (win2k3 server) 
name services in this environment (yes I know - In jamie from 
Mythbusters voice they all say There's your problem!). I just need to 
prove that to be the case, or at least isolate what's going on.


cheers,
b

Hi Ben,

You can debug most (all?) of the DNS client resolution issues with dig.

You can test all the DNS client features, from a simple query to a
full transfer zone.

Regards
Rodolfo Martínez
Dirección de Proyectos
Aleux México | http://www.aleux.com



On Tue, Jan 26, 2010 at 5:04 PM, Ben Burke ben.bu...@internode.on.net wrote:
  

Hello,

This is my first post to slug - hopefully I've understood protocol from
reading the list for a month or so.

In the past, I've diagnosed dns client resolution issues using options
debug in resolv.conf or setting the RES_OPTIONS environment variable as
follows...

export RES_OPTIONS=debug

r...@aixbox:/ mailto:r...@toranim1:/  ping smh.com.au http://smh.com.au
;; res_setoptions(debug, env)..
;;  debug
;;  calling process id = 614598
;; res_nquerydomain(smh.com.au http://smh.com.au, Nil, 1, 1)
;; res_query(smh.com.au http://smh.com.au, 1, 1)
;; res_nmkquery(QUERY, smh.com.au http://smh.com.au, IN, A)
;; res_send()
;; -HEADER- opcode: QUERY, status: NOERROR, id: 467
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;;  smh.com.au http://smh.com.au, type = A, class = IN
;; Querying server (# 1) address = 10.201.4.8
;; got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 467
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;;  smh.com.au http://smh.com.au, type = A, class = IN
smh.com.au http://smh.com.au. 1m12s IN A  203.26.51.71
PING smh.com.au http://smh.com.au (203.26.51.71): 56 data bytes
--- smh.com.au http://smh.com.au ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss


This has provided a means of tracing dns resolution issues, which has proved
to be valuable for me on many occasions - the environments have been AIX,
Solaris and Tru64


I  use and manage two linux distros - Ubuntu 9.04 and sUSE 11.1. Both these
distros document the options debug in the man page for resolv.conf

However, neither Ubuntu or sUSE yield any dns client trace where I'd expect
them too.


b...@sam:~$ uname -a
Linux sam 2.6.28-17-generic #58-Ubuntu SMP Tue Dec 1 18:57:07 UTC 2009 i686
GNU/Linux

b...@sam:~$ export RES_OPTIONS=debug
b...@sam:~$ ping www.smh.com.au
PING a1040.b.akamai.net (150.101.195.89) 56(84) bytes of data.
64 bytes from 150.101.195.89: icmp_seq=1 ttl=61 time=30.9 ms



Many moons ago, when I first read about options debug, I recall that
gethostbyname could be built with or without various RES_OPTIONS.

So, my questions are:

1) Is this the expected behaviour on various Linux distros or am I missing
something?
2) Can anyone advise how to enable the debug capabilities in gethostbyname?



Thanks in advance,

Ben Burke
--
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] Wireless Broadband?

2010-01-26 Thread Marghanita da Cruz

http://geobray.com/2010/01/19/broadband-3g-from-the-beach/

Marghanita
--
Marghanita da Cruz
http://ramin.com.au
Tel: 0414-869202


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