[SLUG] Send EOF to Browser from LAMP stack.

2010-01-20 Thread Peter Rundle

Hi Sluggers,


I hope this question is appropriate for this list. I have a PHP web-site running on Apache and Linux. A PHP routine produces a 
page that is sent back to the browser, but then it has some house-keeping to do which takes some time, perhaps many seconds but 
the housekeeping doesn't result in any more output to the browser (any output from that point on goes to a log).


What I would like to do is end/close the http request so that the browser gets the HTTP equivelent of an "EOF" but allow the php 
script to keep running. Now flush() does send the output to date to the browser but the browsers "busy" icon keeps running because 
the http session isn't closed until the php ends.


I thought of doing a "fork" but the PHP docs say that fork doesn't work when php is running under apache. I could write a shell 
script and invoke that with a system/exec call from php and have the shell run into the background and do the house-keeping thus 
allowing the php to finsih, but I'm wondering if sluggers know of "a better way (tm)".


Thanks


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] Send EOF to Browser from LAMP stack.

2010-01-20 Thread Jeff Waugh


> What I would like to do is end/close the http request so that the browser
> gets the HTTP equivelent of an "EOF" but allow the php script to keep
> running. Now flush() does send the output to date to the browser but the
> browsers "busy" icon keeps running because the http session isn't closed
> until the php ends.

You're very likely to find a solution to this in the WordPress code base,
particularly related to the WP-Cron code (an implementation of "poor man's
cron", in order to run scheduled jobs based on client requests rather than
exact times as with Really Proper Cron).

- Jeff

-- 
linux.conf.au 2010: Wellington, NZhttp://www.lca2010.org.nz/
 
   "Try Thunderbird, like Evolution but without all the features." - Pia
   Waugh
-- 
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] Send EOF to Browser from LAMP stack.

2010-01-20 Thread Ken Foskey
On Thu, 2010-01-21 at 08:22 +1100, Peter Rundle wrote:
> Hi Sluggers,
> 
> 
> I hope this question is appropriate for this list. I have a PHP web-site 
> running on Apache and Linux. A PHP routine produces a 
> page that is sent back to the browser, but then it has some house-keeping to 
> do which takes some time, perhaps many seconds but 
> the housekeeping doesn't result in any more output to the browser (any output 
> from that point on goes to a log).
> 
> What I would like to do is end/close the http request so that the browser 
> gets the HTTP equivelent of an "EOF" but allow the php 
> script to keep running. Now flush() does send the output to date to the 
> browser but the browsers "busy" icon keeps running because 
> the http session isn't closed until the php ends.
> 
> I thought of doing a "fork" but the PHP docs say that fork doesn't work when 
> php is running under apache. I could write a shell 
> script and invoke that with a system/exec call from php and have the shell 
> run into the background and do the house-keeping thus 
> allowing the php to finsih, but I'm wondering if sluggers know of "a better 
> way (tm)".
> 
> Thanks
> 
> 
> Pete


You could try closing STDOUT which will tell apache that your script has
stopped output.

In perl I executed a background task with an system( "command &" ); to
perform the background tasks.  I then emailed a reponse to the client to
tell them the job was done.

Ta
Ken

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


[SLUG] NTP Issues

2010-01-20 Thread Kyle

Hi Slug,

Having a bit of an issue at the moment with NTP. Server has been running 
for nigh on 2-3 years now. NTP was always running and always perfect.


Recently had a truck take out power lines in the street and no power for 
3-4 hours. Server sits behind somewhat out-of-date, (but still has 
reserve power) UPS and was shut down in time cleanly.


However, since then server loses time BIG time. Funny thing is, other 
server in same subnet (also NTP) keeps perfect time. Both running CentOS 
5.x.


Now, could be any number of issues, just looking for some guidance on 
where to start looking pls? Anyone got any ideas?


--

Kind Regards

Kyle Lange

Tel: +61 (0)431 88 3978

--
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] NTP Issues

2010-01-20 Thread Harrison Conlin
On Thu, Jan 21, 2010 at 9:43 AM, Kyle  wrote:
> Hi Slug,
>
> Having a bit of an issue at the moment with NTP. Server has been running for
> nigh on 2-3 years now. NTP was always running and always perfect.
>
> Recently had a truck take out power lines in the street and no power for 3-4
> hours. Server sits behind somewhat out-of-date, (but still has reserve
> power) UPS and was shut down in time cleanly.
>
> However, since then server loses time BIG time. Funny thing is, other server
> in same subnet (also NTP) keeps perfect time. Both running CentOS 5.x.
>
> Now, could be any number of issues, just looking for some guidance on where
> to start looking pls? Anyone got any ideas?

I would start with changing the CMOS battery and seeing if that makes
a difference.

-- 
Harrison Conlin
-- 
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] NTP Issues

2010-01-20 Thread Ben Donohue
I think from memory you can test whether NTP is working... isn't there a 
"test" button to check it can find an upstream NTP server?
Also check basic network settings... has the gateway setting changed or 
is now missing.

Ben


Kyle wrote:

Hi Slug,

Having a bit of an issue at the moment with NTP. Server has been 
running for nigh on 2-3 years now. NTP was always running and always 
perfect.


Recently had a truck take out power lines in the street and no power 
for 3-4 hours. Server sits behind somewhat out-of-date, (but still has 
reserve power) UPS and was shut down in time cleanly.


However, since then server loses time BIG time. Funny thing is, other 
server in same subnet (also NTP) keeps perfect time. Both running 
CentOS 5.x.


Now, could be any number of issues, just looking for some guidance on 
where to start looking pls? Anyone got any ideas?



--
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] Send EOF to Browser from LAMP stack.

2010-01-20 Thread justin randell
hi,

2010/1/20 Peter Rundle :
> Hi Sluggers,
>
>
> I hope this question is appropriate for this list. I have a PHP web-site
> running on Apache and Linux. A PHP routine produces a page that is sent back
> to the browser, but then it has some house-keeping to do which takes some
> time, perhaps many seconds but the housekeeping doesn't result in any more
> output to the browser (any output from that point on goes to a log).

http://php.net/flush

and possibly

http://php.net/ob_flush

are likely the droids you are looking for.

cheers
justin
-- 
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] NTP Issues

2010-01-20 Thread Kyle


Harrison Conlin wrote:

On Thu, Jan 21, 2010 at 9:43 AM, Kyle  wrote:
  I would start with changing the CMOS battery and seeing if that makes
a difference.

  
Indeed, but if the server isn't shut down at any time, then the CMOS 
doesn't come into play does it?




Kind Regards

Kyle


--
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] NTP Issues

2010-01-20 Thread Kyle

Ben Donohue wrote:
I think from memory you can test whether NTP is working... isn't there 
a "test" button to check it can find an upstream NTP server?
Also check basic network settings... has the gateway setting changed 
or is now missing.

Ben

NTP has a GUI??? What's that called pls (in KDE) ?

Basic network settings haven't changed.


Kind Regards

Kyle

--
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] Send EOF to Browser from LAMP stack.

2010-01-20 Thread justin randell
hi,

2010/1/20 Peter Rundle :
> Hi Sluggers,
>
> I hope this question is appropriate for this list. I have a PHP web-site
> running on Apache and Linux. A PHP routine produces a page that is sent back
> to the browser, but then it has some house-keeping to do which takes some
> time, perhaps many seconds but the housekeeping doesn't result in any more
> output to the browser (any output from that point on goes to a log).
>
> What I would like to do is end/close the http request so that the browser
> gets the HTTP equivelent of an "EOF" but allow the php script to keep
> running. Now flush() does send the output to date to the browser but the
> browsers "busy" icon keeps running because the http session isn't closed
> until the php ends.

woops, ignore my last post about flush(), should have read the whole
post. i blame the wine and being on holiday in europe...

> I thought of doing a "fork" but the PHP docs say that fork doesn't work when
> php is running under apache. I could write a shell script and invoke that
> with a system/exec call from php and have the shell run into the background
> and do the house-keeping thus allowing the php to finsih, but I'm wondering
> if sluggers know of "a better way (tm)".

how immediate does this need to be? unless this really needs to run
straight away, i'd put the "needs background work" request in a simple
queue and process it via a cron script. IMHO, putting a layer between
a web request and any serious out-of-band processing is the best way
to handle these cases.

cheers
justin
-- 
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] NTP Issues

2010-01-20 Thread SkoZombie
On Thu, January 21, 2010 9:43 am, Kyle wrote:
> However, since then server loses time BIG time. Funny thing is, other
> server in same subnet (also NTP) keeps perfect time. Both running CentOS
> 5.x.
>
> Now, could be any number of issues, just looking for some guidance on
> where to start looking pls? Anyone got any ideas?

You've probably done this already, but manually set the time correctly.
I've found in the past that NTP won't adjust the time if it's too far out.
If it's been a long way out in the past (eg. due to a failing CMOS battery
while it was powered off), it may have written this state to a file
somewhere.

The other suggestions around testing the machine is still getting NTP
updates are good ideas too.

NTP sure can be a little fickle!

-Sko

-- 
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] NTP Issues

2010-01-20 Thread Amos Shapira
2010/1/21 SkoZombie :
> On Thu, January 21, 2010 9:43 am, Kyle wrote:
>> However, since then server loses time BIG time. Funny thing is, other
>> server in same subnet (also NTP) keeps perfect time. Both running CentOS
>> 5.x.
>>
>> Now, could be any number of issues, just looking for some guidance on
>> where to start looking pls? Anyone got any ideas?
>
> You've probably done this already, but manually set the time correctly.
> I've found in the past that NTP won't adjust the time if it's too far out.
> If it's been a long way out in the past (eg. due to a failing CMOS battery
> while it was powered off), it may have written this state to a file
> somewhere.

Correct, stop the server ("service ntpd stop") then run "ntpdate
server-name" (taking server-name from /etc/ntp.conf), then "service
ntpd start".

You can test status with "ntptrace" and the "peer" command to "ntpq".

--Amos
-- 
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] NTP Issues

2010-01-20 Thread Ken Foskey
On Thu, 2010-01-21 at 09:43 +1100, Kyle wrote:
> Hi Slug,
> 
> Having a bit of an issue at the moment with NTP. Server has been running 
> for nigh on 2-3 years now. NTP was always running and always perfect.
> 
> Recently had a truck take out power lines in the street and no power for 
> 3-4 hours. Server sits behind somewhat out-of-date, (but still has 
> reserve power) UPS and was shut down in time cleanly.
> 
> However, since then server loses time BIG time. Funny thing is, other 
> server in same subnet (also NTP) keeps perfect time. Both running CentOS 
> 5.x.
> 
> Now, could be any number of issues, just looking for some guidance on 
> where to start looking pls? Anyone got any ideas?


NTP has a limit on how much time it can adjust, it is tiny to stop huge
unexpected jumps for Databases etc.

When the server comes up it will automatically run ntpdate but sometimes
you don't have a network to support the command.  You can run this
command manually to kick start the adjustments.

ntpdate server

ta
Ken

-- 
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] NTP Issues

2010-01-20 Thread Kyle


Amos Shapira wrote:

2010/1/21 SkoZombie :
  

You've probably done this already, but manually set the time correctly.


Correct, stop the server ("service ntpd stop") then run "ntpdate

server-name" (taking server-name from /etc/ntp.conf), then "service
ntpd start".

You can test status with "ntptrace" and the "peer" command to "ntpq".

--Amos


Probably should've said this in the original post but,

yes, I had stoppped and set the time correctly, 2ce now, and restarted, 
to no avail.


Also an ntpq -pn shows I am finding servers, but they seem to be out 
just as much. As best I can tell, it's the /var/lib/ntp/drift file which 
tells ntp how far out it is.


remote   refid  st t when poll 
reach   delay   offset  jitter

==
+202.174.101.10   216.218.254.202  2 u   11   64  377   42.044   
10.199   4.210
+203.161.129.2 202.83.64.3  3 u   27   64  377   
41.393   16.127   5.334
*121.0.0.41   204.152.184.722 u   34   64  377   
41.6315.0806.665
127.127.1.0  .LOCL.  10 l  -   64  
3770.000 0.000 0.001




Kind Regards

Kyle



--
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] Send EOF to Browser from LAMP stack.

2010-01-20 Thread Piers Rowan



how immediate does this need to be? unless this really needs to run
straight away, i'd put the "needs background work" request in a simple
queue and process it via a cron script. IMHO, putting a layer between
a web request and any serious out-of-band processing is the best way
to handle these cases.


  



You could set up a cron job to poll a php script hourly.

php /var/www/html/cron/cron.php

Have that script query a queue:

SELECT script_name, parameters FROM cron_table WHERE done = 'NO';

Iterate through the results and run the script(s):

foreach($results as $row)
{
   extract($row);
   // assuming the params are in the formate a:1/b:2/c:3
   $params = explode('/', $row['parameters']);

   // populate the variables that the script is expecting
   foreach($params as $p)
   {
  $z = explode(':', $p);
  $$p[0] = $p[1];
   }

   // include the script that actually does stuff
   include '/var/www/html/cron/' .  $row['script_name'];
}


Using this way you only have to set up one cron job and you can point it 
at any PHP script by just getting the page to insert a row in a database.


Just an idea, code probably is broken somewhere but anyway...

Cheers

P





--


*

www.recruitonline.com.au 
*

   * *Recruitment, Advertising, Document Managment, CRM, Online Storage
 and Search hosted services.*

--
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] Send EOF to Browser from LAMP stack.

2010-01-20 Thread Peter Rundle

It's alleged Ken Foskey did scribe:


You could try closing STDOUT which will tell apache that your script has
stopped output.


This is interesting idea, I think I will give that a try if I can find 
out how to get hold of the STDOUT file pointer.




In perl I executed a background task with an system( "command &" ); to
perform the background tasks.  I then emailed a reponse to the client to
tell them the job was done.


That's the kinda thing I need to do. I was hoping to avoid doing a 
system command because the action I need to do is easily done right away 
in the php (database connection is already open with right privileges 
etc). I just need to let the browser know that there's not gonna be any 
more output, it's finished go and render the page and be happy. If I 
call a system command I have to pass all the info I current have in the 
application open a new connection to the database in the other process 
etc. Doable but if I can just close the network connection that'd be neater.


Cron jobs aren't the go, this is an event driven task that needs to 
happen when the event occurs, not some minutes/hours later when the cron 
jobs wakes up at the specified interval.



Thanks

Pete

P.S if people reply to my email address it will probably block, just 
reply to slug I'm subscribed



--
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] NTP Issues

2010-01-20 Thread james
On Thursday 21 January 2010 07:24:26 slug-requ...@slug.org.au wrote:
> > Having a bit of an issue at the moment with NTP. Server has been running
> > for nigh on 2-3 years now. NTP was always running and always perfect.
> >
> > Recently had a truck take out power lines in the street and no power for
> > 3-4 hours. Server sits behind somewhat out-of-date, (but still has
> > reserve power) UPS and was shut down in time cleanly.
> >
> > However, since then server loses time BIG time. Funny thing is, other
> > server in same subnet (also NTP) keeps perfect time. Both running CentOS
> > 5.x.
> >
> > Now, could be any number of issues, just looking for some guidance on
> > where to start looking pls? Anyone got any ideas?
> 
> I would start with changing the CMOS battery and seeing if that makes
> a difference.

Guys when saying *something* a few words of explanation is really nice for 
those reading the post.

IMHO this is rubbish, the CMOS is not used after boot, *but* NTP won't fix 
gross errors, being too smart ..

ntpdc -p tells you what your machine is doing
npt logs explain lots

ummm RTM there is a way to stop the daemon, set the time and restart the 
daemon.

also look at the drift file (TBM - TheMan) again. Errors here will surely 
screwup things for a while.

Also hwclock tells you about the CMOS clock

James
-- 
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] NTP Issues

2010-01-20 Thread Steffen Schulz
On 100121 at 10:00, Kyle wrote:
> However, since then server loses time BIG time. Funny thing is,
> other server in same subnet (also NTP) keeps perfect time. Both
> running CentOS 5.x.

Did you check /etc/adjtime? Not only will NTP refuse to change the
clock in large steps, it also makes a record of past adjustments to
continually adjust the system clock. (man adjtime)

I'd try this:

- kill any ntp server/clients
- delete etc/adjtime and possibly that drift file of yours..
- ntpdate -b good.ntp.server.com.au
- start ntp server


/steffen
-- 
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] Send EOF to Browser from LAMP stack.

2010-01-20 Thread Amos Shapira
2010/1/21 Peter Rundle :
> Cron jobs aren't the go, this is an event driven task that needs to happen
> when the event occurs, not some minutes/hours later when the cron jobs wakes
> up at the specified interval.

Cron is not the only way to process things in the background.

For instance - how about the request generates a file in a specified
directory, a daemon which keeps watching this directory (stat() on the
directory, or inotify) will notice the new file and act based on job
data contained in the file.

Just make sure to cover corner cases - e.g.
* create the file under some temporary name (e.g. .filename) until it
contains all the required information then rename it to the
name/directory under which the background process looks for it.
* Make sure to use a unique file name for each request.
* Monitor the background process with "monit".
* Monitor for accumulation of jobs in the "queue"

Cheers,

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


[SLUG] Wireless Broadband?

2010-01-20 Thread j blrown
I've been looking at getting a wireless Broadband Prepaid kit from
either Vodaphone,Optus or Bigpond.

I just want it to use in addition to my ADSL Broadband connection, and
will use it with either my Laptop or Netbook.

I'm running Ubuntu in one form or another, from 8.10 to 9.04.

Any advice Pros/Cons re the above providers and their supplied modems?

I've had no experience with wireless connectivity.

Thanks

Bill
-- 
  j blrown
  gonz...@fastmail.fm

-- 
http://www.fastmail.fm - The way an email service should be

-- 
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-20 Thread Peter Hardy
Hey hey.

On Wed, 2010-01-20 at 20:44 -0800, j blrown wrote:
> I've been looking at getting a wireless Broadband Prepaid kit from
> either Vodaphone,Optus or Bigpond.

I have experience with Vodafone and Bigpond post-paid wireless broadband
on Ubuntu 9.04.

The Vodafone dongle works fine. Plugged it in, it was properly detected,
I was able to set up a new wireless broadband connection using the
Network Manager applet. Using it is simple, just plug it in, and connect
using Network Manager.

My mother regularly uses a Bigpond dongle on her Eee running the 9.04
netbook remix. I think it's one of the newer style dongles Telstra are
using. Setting it up was a little bit more complicated - I had to
install and configure the usb_modeswitch tool
( http://www.draisberghof.de/usb_modeswitch/ ), and then wvdial to "dial
out" and set up a PPP session through it. Now that's done, though,
actually using it is as simple as the Vodafone dongle. Plug in, wait
until the light turns blue, double click the wvdial icon.

Hope that helps,
-- 
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] Wireless Broadband?

2010-01-20 Thread Mike Andy
I've done a skype call over one of those USB modems before, i think
the company was 3. I've got to say it was pretty good, the skype call
didn't drop out at all at any time, very impressive for such a small
device. I've also heard that you can go and get your own wireless USB
modem and just use one of the ISPs accounts instead of buying/renting
one of their usb modems.

Now i was on my macbook at the time but i had installed win XP on it
because it was pretty much plug and play like that - as for plugging
one of those modems into a linux box I wouldn't say that a plug and
play option would be impossible to find but i'd recommend doing some
research to see what works and how to get it working, plug and play,
doing a kernel mod etc...

On Thu, Jan 21, 2010 at 3:44 PM, j blrown  wrote:
> I've been looking at getting a wireless Broadband Prepaid kit from
> either Vodaphone,Optus or Bigpond.
>
> I just want it to use in addition to my ADSL Broadband connection, and
> will use it with either my Laptop or Netbook.
>
> I'm running Ubuntu in one form or another, from 8.10 to 9.04.
>
> Any advice Pros/Cons re the above providers and their supplied modems?
>
> I've had no experience with wireless connectivity.
>
> Thanks
>
> Bill
> --
>  j blrown
>  gonz...@fastmail.fm
>
> --
> http://www.fastmail.fm - The way an email service should be
>
> --
> 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-20 Thread Dean Hamstead
The Optus dongles 'just work', as the huawei modems are well supported 
in more recent kernels and network-manager. They are also trivial to get 
going using wvdial (which i use) or other ppp tools.


Virgin, Dodo, 3 and Voda dongles which are from Huawei are no doubt just 
as trivial to configure.


Dean

Peter Hardy wrote:

Hey hey.

On Wed, 2010-01-20 at 20:44 -0800, j blrown wrote:

I've been looking at getting a wireless Broadband Prepaid kit from
either Vodaphone,Optus or Bigpond.


I have experience with Vodafone and Bigpond post-paid wireless broadband
on Ubuntu 9.04.

The Vodafone dongle works fine. Plugged it in, it was properly detected,
I was able to set up a new wireless broadband connection using the
Network Manager applet. Using it is simple, just plug it in, and connect
using Network Manager.

My mother regularly uses a Bigpond dongle on her Eee running the 9.04
netbook remix. I think it's one of the newer style dongles Telstra are
using. Setting it up was a little bit more complicated - I had to
install and configure the usb_modeswitch tool
( http://www.draisberghof.de/usb_modeswitch/ ), and then wvdial to "dial
out" and set up a PPP session through it. Now that's done, though,
actually using it is as simple as the Vodafone dongle. Plug in, wait
until the light turns blue, double click the wvdial icon.

Hope that helps,


--
http://fragfest.com.au
--
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-20 Thread david



j blrown wrote:

I've been looking at getting a wireless Broadband Prepaid kit from
either Vodaphone,Optus or Bigpond.

I just want it to use in addition to my ADSL Broadband connection, and
will use it with either my Laptop or Netbook.

I'm running Ubuntu in one form or another, from 8.10 to 9.04.

Any advice Pros/Cons re the above providers and their supplied modems?



My 3 pre-paid worked out of the box on Ubuntu 8.10

the problem was limited coverage.

It must have been easy because I can't remember what i had to do, except that it 
utilised settings in the network manager. There were definitely no special 
installs/drivers/kernel stuff.


One small problem, if you run out of credit on a prepaid.. you need a connected 
computer to recharge. Not sure why, or if it was just me.


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

2010-01-20 Thread Dean Hamstead
From Optus (and its resellers), the 7.2mbps modems are definitely 
faster than their 3.6meg cousins and do hold the network better.


These are supposedly using two frequency's. Most likely their more 
advanced antennas and radios make them more robust as well.


Ive browsed the net (as a passenger) the length of the M4 (emu plains to 
parramatta road) without any drop outs using the Huawei E1762 ($250), 
this was during peak hour traffic and it was 300kb/s+


Youll also find that 3g is much slower (50-100kb/s) in the evenings 
(peak net usage) than first thing in the morning (600kb/s).


Grabbing something big off mirror.optusnet.com.au is usually a good way 
to see what you 'should' be getting, without border congestion etc



Dean

Mark Walkom wrote:

The Huawei were the easiest I tried too.
The Telstra was a bit of a hassle but not too bad.

Coverage wise 3 is the worst, then Vodafone, Optus and then Telstra at 
the opposite end of the scale.


2010/1/21 Dean Hamstead mailto:d...@fragfest.com.au>>

The Optus dongles 'just work', as the huawei modems are well
supported in more recent kernels and network-manager. They are also
trivial to get going using wvdial (which i use) or other ppp tools.

Virgin, Dodo, 3 and Voda dongles which are from Huawei are no doubt
just as trivial to configure.

Dean




--
http://fragfest.com.au
--
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-20 Thread Amos Shapira
Since this became a discussion of broadband modems - I got an OK from
my workplace to buy the Telstra Turbo USB pre-paid modem (currently
costs $149) but so far Google, whirlpool and ubuntuforums failed to
provide a positive answer about the hardware compatibility to linux
(Ubuntu 9.10).

Can anyone here have positive experience with this moddem?

Thanks

-Amos

On 1/21/10, j blrown  wrote:
> I've been looking at getting a wireless Broadband Prepaid kit from
> either Vodaphone,Optus or Bigpond.
>
> I just want it to use in addition to my ADSL Broadband connection, and
> will use it with either my Laptop or Netbook.
>
> I'm running Ubuntu in one form or another, from 8.10 to 9.04.
>
> Any advice Pros/Cons re the above providers and their supplied modems?
>
> I've had no experience with wireless connectivity.
>
> Thanks
>
> Bill
> --
>   j blrown
>   gonz...@fastmail.fm
>
> --
> http://www.fastmail.fm - The way an email service should be
>
> --
> 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-20 Thread Marghanita da Cruz

j blrown wrote:

I've been looking at getting a wireless Broadband Prepaid kit from
either Vodaphone,Optus or Bigpond.


Something you might like to consider is
the coverage. I'm in the inner west of
Sydney, using a Virgin (Post Pay
$40-5GB capped/shaped/month) branded 
modem, on the

Optus Network as my primary Internet
connection, it has been reliable and
provides sufficient bandwidth for my
needs. Though in the last few months the
service was down a couple of mornings -
but it has stabilised now.

However, in Canberra the Optus coverage
doesn't seem as good - an external
antenna helps.

When you get to Tassie, outside Hobart
and Launceston - it is only Telstra.

I have a Vodafone telephone and it
didn't work outside Hobart and
Launceston in tasmania - it is fine
between Sydney and Canberra - probably
along most highways.



I just want it to use in addition to my ADSL Broadband connection, and
will use it with either my Laptop or Netbook.

I'm running Ubuntu in one form or another, from 8.10 to 9.04.

Any advice Pros/Cons re the above providers and their supplied modems?



I use the modem via a Router/ethernet
cable, from 3. The router has one
ethernet port and WiFi.


I've had no experience with wireless connectivity.

Thanks

Bill



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

2010-01-20 Thread darkpaw
 
 
I got a Vodafone prepaid one the other day, not much luck on my 64 bit system 
so  
far though.  
  
The current usb stick model is K3765 which doesn't seem to be supported by the  
available kernels in Ubuntu at least, or maybe it needs some fiddling. It's not 
 
been much fun so far trying to get it working without an alternate network  
connection.  
  
There are drivers and utilities available but they seem to be intel 32bit only, 
 
although it looks like source might be available for some of it.  
  
http://www.betavine.net/bvportal/resources/datacards/os  
  
  
  
--   
Felix  
  
  
On Thu 21/01/10  3:14 PM , "j blrown" gonz...@fastmail.fm sent:  
> I've been looking at getting a wireless Broadband Prepaid kit from  
> either Vodaphone,Optus or Bigpond.  
>   
> I just want it to use in addition to my ADSL Broadband connection, and  
> will use it with either my Laptop or Netbook.  
>   
> I'm running Ubuntu in one form or another, from 8.10 to 9.04.  
>   
> Any advice Pros/Cons re the above providers and their supplied modems?  
>   
> I've had no experience with wireless connectivity.  
>   
> Thanks  
>   
> Bill  
> --   
> j blrown  
> gonz...@f  
> astmail.fm  
> --   
> http://www.fastmail.fm - The way an email service  
> should be  
> --   
> 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-20 Thread Ben Donohue
From memory you can get them in two general packages... time online or 
monthly download.


you really have to watch the downloads of these...

If you go over, you get slugged quite heavily. They are not capped at 
whatever and then shaped. You get hit for every additional MEGABYTE! 
(unless their plans have changed recently...)


If you are not careful, you'll have the finance dept. knocking on your door.

Also useful to record the IMEI number and serial number and anything 
else you can, 'cause if you lose it you want to disable it ASAP before 
someone else uses it to death and you get the $$$ bill at the end of the 
month. Treat it like a credit card with the PIN written on it. Anyone 
else who finds/steals it can simply plug it in and use it.


Ben




Amos Shapira wrote:

Since this became a discussion of broadband modems - I got an OK from
my workplace to buy the Telstra Turbo USB pre-paid modem (currently
costs $149) but so far Google, whirlpool and ubuntuforums failed to
provide a positive answer about the hardware compatibility to linux
(Ubuntu 9.10).

Can anyone here have positive experience with this moddem?

Thanks

-Amos

On 1/21/10, j blrown  wrote:
  

I've been looking at getting a wireless Broadband Prepaid kit from
either Vodaphone,Optus or Bigpond.

I just want it to use in addition to my ADSL Broadband connection, and
will use it with either my Laptop or Netbook.

I'm running Ubuntu in one form or another, from 8.10 to 9.04.

Any advice Pros/Cons re the above providers and their supplied modems?

I've had no experience with wireless connectivity.

Thanks

Bill
--
  j blrown
  gonz...@fastmail.fm

--
http://www.fastmail.fm - The way an email service should be

--
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