Toshiba 1800-100 Graphics

2005-08-02 Thread Robert Himmelmann

Greetings,

I got an old Toshiba Satellite 1800-100 to configure and play around 
with. Firstly I tried to get gentoo working with distcc but after some 
time I gave up because I couldn't compile Xorg and even with distcc it 
was too slow. Then I tried Ubuntu which worked fine. The installation 
was almost as easy as what I remember form SuSE and aptitude and apt-get 
are extremly powerfull. They are much easier to use than emerge or 
yast2. The package database seems to be much more frequently updated 
than that under Debian Sarge. For some reason I also thought that there 
is no root-user on ubuntu. On my system su and logging in over ssh with 
username root all work well.


I only have some problems with 2d-graphics. When I try to play 
Flash-games they are extremly slow and the cursor flickers while it is 
over the movie. Fading effects, e.g. what happens with the background 
when one clicks on System -> Log Out in Gnome 2.10, and scrolling are 
also slow. The former owner of the laptop said that he experienced 
somthing similar with Fedora. Easy things such as moving windows still 
work well. I found out that the grahics card is a trident CyberBlade:


:01:00.0 VGA compatible controller: Trident Microsystems 
CyberBlade/i1 (rev 5d)


I tried googling for the card/laptop but I could only find things that 
are too old. I also had a look at xorg.conf and /var/log/Xorg.0.log but 
could not find anything there:


[xorg.conf]
...
Section "Device"
   Identifier  "Trident Microsystems CyberBlade/i1"
   Driver  "trident"
   BusID   "PCI:1:0:0"
   VideoRAM8192
EndSection
...

[/var/log/Xorg.0.log]
...
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
...
I heard that some people have problems with ACPI and that using APM 
instead should work. I am not sure what ubuntu uses as I have not 
compiled this kernel myself. Whatever it does use, it seems to work. I 
can powersave the monitor, display battery usage and even hibernate.


Any help welcome.

Happy Hacking,
Robert Himmelmann

Buddha said: "I consider the positions of kings and rulers as that of 
dust motes. I observe treasures of gold and gems as so many bricks and 
pebbles. I look upon the finest silken robes as tattered rags. I see 
myriad worlds of the universe as small seeds of fruit, and the greatest 
lake in India as a drop of oil on my foot. I perceive the teachings of 
the world to be the illusion of magicians. I discern the highest 
conception of emancipation as a golden brocade in a dream, and view the 
holy path of the illuminated ones as flowers appearing in one's eyes. I 
see meditation as a pillar of a mountain, Nirvana as a nightmare of 
daytime. I look upon the judgment of right and wrong as the serpentine 
dance of a dragon, and the rise and fall of beliefs as but traces left 
by the four seasons."


Re: ADSL link problems

2005-08-02 Thread Carl Cerecke
On 03/08/05, Volker Kuhlmann <[EMAIL PROTECTED]> wrote:
> > Only problem is DNS. Takes about 5-10 seconds to resolve anything.
> 
> You should be getting instant responses from your ISP's name server.

I do.

dig returns info straight away.

I think I've realised what it might be. We use the maxnet
"netguardian" option, so it is checking the sites against it's
blacklist, which is why websites take so long to start loading.
Does seem excessively long though.

Cheers,
Carl.


Where would the kontact addressbook be found ?

2005-08-02 Thread dave lilley

moved off mandrake to ubuntu and from kmail to thunderbird.

Would like to get the address imported into the thunderbird addressbook.

thanx for any pointers.


Re: ADSL link problems

2005-08-02 Thread Volker Kuhlmann
> Only problem is DNS. Takes about 5-10 seconds to resolve anything.

You should be getting instant responses from your ISP's name server.
Does your adsl modem muck around with DNS queries? Can you turn the
modem's DNS cache off? Otherwise you'll have to run your own caching
DNS.

Volker

-- 
Volker Kuhlmann is possibly list0570 with the domain in header
http://volker.dnsalias.net/ Please do not CC list postings to me.


Re: ADSL link problems

2005-08-02 Thread Paul Swafford

run your own dns server?

Paul

Carl Cerecke wrote:

On 03/08/05, Volker Kuhlmann <[EMAIL PROTECTED]> wrote:


The problem with adsl connections is a recurring one. All it takes is some
checking - very simple to do at the completion to see that it is working as
expected.


I guess it's cheaper to just give a free month's rental...
Carl, if I were you I wouldn't give in without compensation.



Yeah. I'll bug them about it.

Posting from a working ADSL connection. Yay!

I'm getting speeds about what I would expect for a 1Mbit connection.

Only problem is DNS. Takes about 5-10 seconds to resolve anything.

Cheers,
Carl.


Re: ADSL link problems

2005-08-02 Thread Carl Cerecke
On 03/08/05, Volker Kuhlmann <[EMAIL PROTECTED]> wrote:
> > The problem with adsl connections is a recurring one. All it takes is some
> > checking - very simple to do at the completion to see that it is working as
> > expected.
> 
> I guess it's cheaper to just give a free month's rental...
> Carl, if I were you I wouldn't give in without compensation.

Yeah. I'll bug them about it.

Posting from a working ADSL connection. Yay!

I'm getting speeds about what I would expect for a 1Mbit connection.

Only problem is DNS. Takes about 5-10 seconds to resolve anything.

Cheers,
Carl.


Re: ADSL link problems

2005-08-02 Thread Volker Kuhlmann
> The problem with adsl connections is a recurring one. All it takes is some
> checking - very simple to do at the completion to see that it is working as
> expected.

I guess it's cheaper to just give a free month's rental...
Carl, if I were you I wouldn't give in without compensation.

Volker

-- 
Volker Kuhlmann is possibly list0570 with the domain in header
http://volker.dnsalias.net/ Please do not CC list postings to me.


RE: ADSL link problems

2005-08-02 Thread Maurice Butler
The problem with adsl connections is a recurring one. All it takes is some
checking - very simple to do at the completion to see that it is working as
expected. Even the best can make an error, but the error rate is reduced
significantly by checking what you have done - a lot like proof reading -
you know what you want to write but does it read that way.

Maurice

> -Original Message-
> From: Derek Smithies [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 3 August 2005 3:38 p.m.
> To: linux-users@it.canterbury.ac.nz
> Subject: RE: ADSL link problems
>
>
> Hi,
>  The problem here is::
>  "drawing conclusions based on a simple model of the system"
>



Re: ADSL link problems

2005-08-02 Thread Nick Rout
AFAIK its a case where polarity is important, although god knows where I
heard that or wherther it is true.


On Wed, 03 Aug 2005 15:39:00 +1200
Carl Cerecke wrote:

> On 03/08/05, Maurice Butler <[EMAIL PROTECTED]> wrote:
> > I have been told the wiring at the exchange just involves put a patch cord
> > in the right place so what is hard?
> 
> If I understood correctly, it was installed "the wrong way around".
> The tech guy said there were two ways to do the connection, and mine
> was done the Wrong Way.
> 
> Perhaps my uplink and downlink were swapped around?
> 
> Cheers,
> Carl.

--
Nick Rout



RE: ADSL link problems

2005-08-02 Thread Derek Smithies
Hi,
 The problem here is::
 "drawing conclusions based on a simple model of the system"

The best illustration I know of this problem:
Remember the picture you were taught at school on the structure of an
atom. In theory, the nucleus should just fly apart cause it consists 
of lots of separate positive charges - and like charged particles repel 
each other.
The reason it does not fly apart is the simple model is actual fact a very
very simple model, and has left heaps out.

Derek.
= 
On Wed, 3 Aug 2005, Maurice Butler wrote:

> I have been told the wiring at the exchange just involves put a patch cord
> in the right place so what is hard?

-- 
Derek Smithies Ph.D. 
IndraNet Technologies Ltd.
Email: [EMAIL PROTECTED] 
ph +64 3 365 6485  
Web: http://www.indranet-technologies.com/  



Re: ADSL link problems

2005-08-02 Thread Carl Cerecke
On 03/08/05, Maurice Butler <[EMAIL PROTECTED]> wrote:
> I have been told the wiring at the exchange just involves put a patch cord
> in the right place so what is hard?

If I understood correctly, it was installed "the wrong way around".
The tech guy said there were two ways to do the connection, and mine
was done the Wrong Way.

Perhaps my uplink and downlink were swapped around?

Cheers,
Carl.


Re: ADSL link problems

2005-08-02 Thread Christopher Sawtell
On Wed, 03 Aug 2005 14:56, Maurice Butler wrote:
> I have been told the wiring at the exchange just involves put a patch cord
> in the right place so what is hard?
Reading The Fine Manual which tells you how.
ok. Having seen schools at work, I'm a cynic. Sorry.
-- 
CS


RE: ADSL link problems

2005-08-02 Thread Maurice Butler
I have been told the wiring at the exchange just involves put a patch cord
in the right place so what is hard?
Maurice

> -Original Message-
> From: Nick Rout [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 3 August 2005 11:25 a.m.
> To: linux-users@it.canterbury.ac.nz
> Subject: Re: ADSL link problems
>
>
>
> On Wed, 03 Aug 2005 10:24:58 +1200
> Carl Cerecke wrote:
>
> > I gave up and booked in a $150 visit for today to install a splitter.
> >
> > Just got a ring from a Telecom tech now. The "idiot who did it cocked
> > up the wiring" at the exchange, apparently. He's fixed it. Will try
> > again this evening.
>
>
> Ahh so we weren't mad after all!
>
> We all anticipate a burst of posting from you this evening.
>
> --
> Nick Rout
>
>
>



Re: ADSL link problems

2005-08-02 Thread Nick Rout

On Wed, 03 Aug 2005 10:24:58 +1200
Carl Cerecke wrote:

> I gave up and booked in a $150 visit for today to install a splitter.
> 
> Just got a ring from a Telecom tech now. The "idiot who did it cocked
> up the wiring" at the exchange, apparently. He's fixed it. Will try
> again this evening.


Ahh so we weren't mad after all!

We all anticipate a burst of posting from you this evening.

--
Nick Rout



Re: ADSL link problems

2005-08-02 Thread Jamie Dobbs
You can actually get a free month for their mistakes (usually), try and
ask them for that.

> Some progress!
>
> After Nick's efforts (thanks Nick) on the weekend, and my efforts
> during the week. (Never spent so much time in my roof space!) I still
> couldn't get it working. Telecom (so they said) tested it twice (from
> the exchange). All good from their end. I took my modem and cable next
> door (she has ADSL). It works OK.
>
> I gave up and booked in a $150 visit for today to install a splitter.
>
> Just got a ring from a Telecom tech now. The "idiot who did it cocked
> up the wiring" at the exchange, apparently. He's fixed it. Will try
> again this evening.
>
> I hope they at least pay for the period I've been paying for ADSL but
> haven't actually had it.
>
> Cheers,
> Carl.
>
>
> On 29/07/05, Carl Cerecke <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> Unfortunatley, I haven't yet got to the point where this can be
>> on-topic.
>>
>> My ADSL modem/switch/wireless box arrived yesterday. A netgear DG834G
>> (which, by the way, runs Linux. Not completely OT then.)
>>
>> Anyway, I plugged it in, turned it on, and no ADSL link light. We've
>> got 5 phone jack points, and I tried 4. No luck. I rang my ISP,
>> netgear support (friendly chap in New Delhi), Telecom, then back to my
>> ISP.
>>
>> It turns out that Telecom won't do anything for me (like testing the
>> line to make sure that they really did enable DSL). My ISP (maxnet)
>> were helpful, but bound by Telecom a bit, it seems. It seems as though
>> either the ADSL works straight away, or it is logged as a "failed
>> manual install" and Telecom send round a guy to wire in an ADSL jack
>> point (for $150). I'm not sure that is necessary. There doesn't seem
>> to be any Mr In-between.
>>
>> I'm reasonably sure it isn't the ADSL modem: I've borrowed a crusty
>> old PCI ADSL modem which didn't give me a link either.
>>
>> Could it be the wiring in my house? The phone works OK.
>>
>> What I'm looking for is experiences/advice for the situation - a way
>> to fix the problem without shelling out big bucks to Telecom for what
>> seems to be their problem.
>>
>> Cheers,
>> Carl.
>>
>
>
>




Re: ADSL link problems

2005-08-02 Thread Carl Cerecke
Some progress!

After Nick's efforts (thanks Nick) on the weekend, and my efforts
during the week. (Never spent so much time in my roof space!) I still
couldn't get it working. Telecom (so they said) tested it twice (from
the exchange). All good from their end. I took my modem and cable next
door (she has ADSL). It works OK.

I gave up and booked in a $150 visit for today to install a splitter.

Just got a ring from a Telecom tech now. The "idiot who did it cocked
up the wiring" at the exchange, apparently. He's fixed it. Will try
again this evening.

I hope they at least pay for the period I've been paying for ADSL but
haven't actually had it.

Cheers,
Carl.


On 29/07/05, Carl Cerecke <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Unfortunatley, I haven't yet got to the point where this can be on-topic.
> 
> My ADSL modem/switch/wireless box arrived yesterday. A netgear DG834G
> (which, by the way, runs Linux. Not completely OT then.)
> 
> Anyway, I plugged it in, turned it on, and no ADSL link light. We've
> got 5 phone jack points, and I tried 4. No luck. I rang my ISP,
> netgear support (friendly chap in New Delhi), Telecom, then back to my
> ISP.
> 
> It turns out that Telecom won't do anything for me (like testing the
> line to make sure that they really did enable DSL). My ISP (maxnet)
> were helpful, but bound by Telecom a bit, it seems. It seems as though
> either the ADSL works straight away, or it is logged as a "failed
> manual install" and Telecom send round a guy to wire in an ADSL jack
> point (for $150). I'm not sure that is necessary. There doesn't seem
> to be any Mr In-between.
> 
> I'm reasonably sure it isn't the ADSL modem: I've borrowed a crusty
> old PCI ADSL modem which didn't give me a link either.
> 
> Could it be the wiring in my house? The phone works OK.
> 
> What I'm looking for is experiences/advice for the situation - a way
> to fix the problem without shelling out big bucks to Telecom for what
> seems to be their problem.
> 
> Cheers,
> Carl.
>


Re: evaluating the return value from a function

2005-08-02 Thread Steve Holdoway

Ross Drummond wrote:


I have been trying to evaluate the return from a function.

I have succeeded by using the $? special parameter, but I reckon that it may 
not be an optimal method.


Does anybody have any improvements? I have included an example below;

Begin script ---
1   #! /bin/bash
2   
3   function parachute
4   {
5   jump_from_plane="$1"; pull_rip_cord="$2"
6   
7   if [ "$jump_from_plane" != ok ]
8   then
9   return 1
10  fi
11  
12  if [ "$pull_rip_cord" != ok ]
13  then
14  return 1
15  fi
16  }
17  
18  parachute ok no
19  
20  if [ "$?" -eq 0 ]
21  then
22  echo "Happy landings"
23  else
24  echo "Uh oh!"
25  fi
End script--

Cheers Ross Drummond

 


Hi Ross,

It's the only way ( well, tbh I learnt the bourne shell initially, and 
use the same syntax under bash, having never learnt if there are any 
major differences so I may well be wrong )! You can say


Status=$?

if [ $Status -eq 0 ]
then


Then it means a bit more to the unititiated, and the value isn't 
overwritten automagically when the next function is called.


Cheers,

Steve
PS. $? is always a number, and -eq tests numeric values, so the quotes 
aren't necessary.


evaluating the return value from a function

2005-08-02 Thread Ross Drummond
I have been trying to evaluate the return from a function.

I have succeeded by using the $? special parameter, but I reckon that it may 
not be an optimal method.

Does anybody have any improvements? I have included an example below;

Begin script ---
1   #! /bin/bash
2   
3   function parachute
4   {
5   jump_from_plane="$1"; pull_rip_cord="$2"
6   
7   if [ "$jump_from_plane" != ok ]
8   then
9   return 1
10  fi
11  
12  if [ "$pull_rip_cord" != ok ]
13  then
14  return 1
15  fi
16  }
17  
18  parachute ok no
19  
20  if [ "$?" -eq 0 ]
21  then
22  echo "Happy landings"
23  else
24  echo "Uh oh!"
25  fi
End script--

Cheers Ross Drummond


Re: ZyDAS ZD1201 chip

2005-08-02 Thread Vik Olliver
On Tue, 2005-08-02 at 19:02 +1200, Nick Rout wrote:
> There was some talk on this list a while ago about USB wireless devices
> based on this chipset, particularly in relation to a DSE device, and
> asian cookery aerials :-)
> 
> Just a heads up, updating to a 2.6.12 kernel shows me that this is now
> in the kernel.
> 
> 
> USB_ZD1201 Yes/No/Module

This is my best reason yet for a kernel upgrade.

Vik :v)
-- 
Vik Olliver <[EMAIL PROTECTED]>
The Olliver Family



ZyDAS ZD1201 chip

2005-08-02 Thread Nick Rout
There was some talk on this list a while ago about USB wireless devices
based on this chipset, particularly in relation to a DSE device, and
asian cookery aerials :-)

Just a heads up, updating to a 2.6.12 kernel shows me that this is now
in the kernel.


USB_ZD1201 Yes/No/Module

-- 
Nick Rout <[EMAIL PROTECTED]>