Re: [SLUG] Cheap 3G mobile internet broadband plans ... what they don't have!

2009-08-06 Thread Roger Salisbury

I just setup one for a customer on telstra:


They all have a private 10.x.x.x address so you can browse OUT using masq 
but
getting BACK to your box is an issue. I resolved that by establishing a VPN 
to
a known server. In the end performance (perth) was so dismal that he gave 
up.
Data transfer was from nearly 400KB / sec down to 10KB and changed on a 
second
to second basis. His app was data-collection for dynamic structure 
analysis.

(B is bytes, not bits)
But there would seem to be no point in *any* port blocking in this picture. 
I

found none.
James


FWIW
the ip i get is ...
115.128.41.59
so a dynamic public address.

So a better deal than Telstra ???

Are people getting these to work on Redhat/Centos ?

I will try again on Centos ...
Tried this link already on Centos . but failed
http://www.draisberghof.de/usb_modeswitch/



This helped on Debian
http://www.review-ninja.com/2009/05/huawei-e160-and-ubuntu-e160-linux-howto.html


No virus found in this outgoing message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.44/2282 - Release Date: 08/04/09 
18:01:00
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Cheap 3G mobile internet broadband plans ... what they don't have!

2009-08-05 Thread Roger Salisbury


Hi all

How much better are the more expensive 3G plans over the cheaper plans?

I have just tried out a 3G broadband dongle on linux
Model :  E160
I tried to get it to work on Centos 5.3 but failed. couldn't get 
usb_modeswitch to give a /dev/USB0 .
However tried on  Debians LENNY and was  it was trivial to get online 
using the E160.

(just needed the dial string)

I tried the 1Gig  residential plan  found it wanting.

The dialup PPP connection ONLY allows 4 incoming ports it seems.

Among other Apps,  I would like to remotely connect via SSH.

Do the higher priced plans have less retrictions  ?
Do the higher priced plans support SSH?

I found  only 4 ports open.   as below .

r...@debian:~# netstat -an   | grep   LISTEN 
tcp0  0 0.0.0.0:34376   0.0.0.0:*   LISTEN
tcp0  0 0.0.0.0:111 0.0.0.0:*   LISTEN
tcp0  0 127.0.0.1:631   0.0.0.0:*   LISTEN
tcp0  0 127.0.0.1:250.0.0.0:*   LISTEN


TIA for any comments
Roger 

No virus found in this outgoing message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.44/2282 - Release Date: 08/04/09 
18:01:00
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Re: Cheap 3G mobile internet broadband plans ... what they don't have!

2009-08-05 Thread Roger Salisbury

OOPs

Just realised a default Lenny install didn't provide sshd
Not what I expected!
I will install heaps more on the Lenny machine  perhaps I maybe satisfied.




Hi all

How much better are the more expensive 3G plans over the cheaper plans?

I have just tried out a 3G broadband dongle on linux
Model :  E160
I tried to get it to work on Centos 5.3 but failed. couldn't get 
usb_modeswitch to give a /dev/USB0 .
However tried on  Debians LENNY and was  it was trivial to get online 
using the E160.

(just needed the dial string)

I tried the 1Gig  residential plan  found it wanting.

The dialup PPP connection ONLY allows 4 incoming ports it seems.

Among other Apps,  I would like to remotely connect via SSH.

Do the higher priced plans have less retrictions  ?
Do the higher priced plans support SSH?

I found  only 4 ports open.   as below .

r...@debian:~# netstat -an   | grep   LISTEN 
tcp0  0 0.0.0.0:34376   0.0.0.0:*   LISTEN
tcp0  0 0.0.0.0:111 0.0.0.0:*   LISTEN
tcp0  0 127.0.0.1:631   0.0.0.0:*   LISTEN
tcp0  0 127.0.0.1:250.0.0.0:*   LISTEN


TIA for any comments
Roger 

No virus found in this outgoing message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.44/2282 - Release Date: 08/04/09 
18:01:00
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] SLUG] Iptables / proxy server madness

2004-05-03 Thread Roger Salisbury
I would suggest put DNS by hand (not automatic detection) on client machine.

Any IP DNS should do.

EG

Try Telstra's primary.61.9.192.14

 

Try Telstra's secondary.61.9.192.15

Cheers Roger





Sluggers,

I'm hoping that someone can shed some light on this problem, otherwise I must be going mad.

I have two linux boxen, one of which is an internet gateway masquerading for the other 
using iptables. When I try to access a web site using Mozilla from the masqueraded box it 
fails miserably waiting forever for the reply packets. However, if I telnet to port 80 of 
the site I get an immediate response. I can also ssh out to other servers on the net no 
problems. Now before you jump to any conclusions, the advanced proxy settings in Mozilla 
are set to direct connection to the internet.

Now things get really weird. If I run squid on the gateway and use an iptables redirect of 
80 to 3128 (Rob's comments about transparent proxying not withstanding) then Mozilla is 
happy as Larry. ???

Ok what gives am I

a) going mad

b) being suckered by some hidden mozilla (drive pete crazy) option selected.

c) something else I don't know about I.e Internet bug #23876412282?

Cluesticks?

TIA's

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] Masquerding not compatible with DHCPD (dynamicipgeneration

2004-03-25 Thread Roger Salisbury





This probably isn't a good idea.

Thanks for the tip, Pete!
--
Roger



On Thu, Mar 25, 2004 at 05:49:22PM +1100, Roger Salisbury wrote:
 I extended the  range to :
 
 
 "range 10.0.0.0 10.0.0.253;"

This probably isn't a good idea.

Your gateway should have a static IP address on its local interface - you
mentioned 10.0.0.1 earlier, so make sure it's configured with that.  If
it's alsobe dynamic, then that may be the cause of that no interface to bind
to problem.

Now, setting the range as 10.0.0.0 - 10.0.0.253 means the DHCP server
will happily hand out the gateway's IP to another client.  Bad. :-) I
usually set my ranges to things like 10.0.0.10 - 10.0.0.100 to give me
leeway for other static servers if I want to add them later.

-- 
Pete

http://lists.slug.org.au/archives/slug/2004/03/msg00619.html


Title: Re: [SLUG] Masquerding not compatible with DHCPD (dynamicipgeneration

























Re: [SLUG] Masquerding not compatible with DHCPD (dynamicipgeneration


[ Thread Index | 
Date Index | 
More slug
 Archives | 
SLUG Lists | 
SLUG Website ]



To: [EMAIL PROTECTED]
Subject: Re: [SLUG] Masquerding not compatible with DHCPD (dynamicipgeneration
From: Peter Hardy [EMAIL PROTECTED]
Date: Thu, 25 Mar 2004 19:22:06 +1100
User-agent: Mutt/1.3.28i







On Thu, Mar 25, 2004 at 05:49:22PM +1100, Roger Salisbury wrote:
 I extended the  range to :
 
 
 range 10.0.0.0 10.0.0.253;

This probably isn't a good idea.

Your gateway should have a static IP address on its local interface - you
mentioned 10.0.0.1 earlier, so make sure it's configured with that.  If
it's alsobe dynamic, then that may be the cause of that no interface to bind
to problem.

Now, setting the range as 10.0.0.0 - 10.0.0.253 means the DHCP server
will happily hand out the gateway's IP to another client.  Bad. :-) I
usually set my ranges to things like 10.0.0.10 - 10.0.0.100 to give me
leeway for other static servers if I want to add them later.

-- 
Pete








References:

Re: [SLUG] Masquerding not compatible with DHCPD (dynamicipgeneration
From: Roger Salisbury




Messages sorted by: [ date | thread ]
Prev by Date:
Re: [SLUG] Re: slug Digest, Vol 12, Issue 71

Next by Date:
[SLUG] Forwarding netbios broadcasts


Previous by thread:
Re: [SLUG] Masquerding not compatible with DHCPD (dynamicipgeneration

Next by thread:
[SLUG] Re: slug Digest, Vol 12, Issue 71









http://slug.org.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] Masquerding not compatible with DHCPD (dynamic ip generation)

2004-03-25 Thread Roger Salisbury
SAME BUT with my dhcpd.conf added

#/etc/dhcpd.conf
ddns-update-style interim;
ignore client-updates;
subnet 10.0.0.0 netmask 255.255.255.0 {
range 10.0.0.2 10.0.0.10;
default-lease-time 86400;
max-lease-time 86400;
## --- default gateway
option routers 10.0.0.1;
# option subnet-mask 255.255.255.0;
# #option nis-domain domain.org;
# #option domain-name domain.org;
# #option domain-name-servers 10.0.1.1;
#
# option time-offset -18000; # Eastern Standard Time
## option ntp-servers 10.0.1.1;
## option netbios-name-servers 10.0.1.1;
## --- Selects point-to-point node (default is hybrid). Don't change 
this unless
## -- you understand Netbios very well
## option netbios-node-type 2;
#
## range dynamic-bootp 192.168.0.128 192.168.0.255;
## default-lease-time 21600;
## max-lease-time 43200;
#
## # we want the nameserver to appear at a fixed address
## host ns {
## next-server marvin.redhat.com;
## hardware ethernet 12:34:56:78:AB:CD;
## fixed-address 207.175.42.254;
## }
}

[EMAIL PROTECTED] wrote:

Roger,

It depends on how you have everything working.  NATing addresses from an
internal network
will not affect your internet connection if done correctly.  All NAT does
is stuff the packets with
a new source address.
Are you sure you have your firewall logging correctly? If you are using
iptables then I would
advise you log your denys see what you are actually doing incorrectly.
Kevin



Hi all

Firstly is Masquerding  compatible with DHCPD  ??

I am running a home network that works fine with static IP's .

When I  install dhcpd for  dynamic IP's  it works fine except for
connecting to the NET.
On the linux client if you ping the outside world an error  Network is
unreachable.
There are no errors in /var/log/messages with the failed internet attempt.

I have disabled the firewall on the gateway with no difference.

All client machines are affected
The client machines  I have tried are : Redhat, win98, win2000, winXP
but I still can't connect to the NET. (static IP's  can OK)
My Gateway  is connected via Bigpond ADSL  via  an old alcatel speed
touch home modem and also serves DHCPd,   THe IP is 10.0.0.1  ,
My Gateway  runs  updated RedHat 9.   ...  networking:   PPPOE,
iptables , snort, acid . etc
Theres probably some setting somewhere   I wish i knew.

TIA

Roger Salisbury



--
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] Masquerding not compatible with DHCPD (dynamic ip generation)

2004-03-24 Thread Roger Salisbury
Hi all

Firstly is Masquerding  compatible with DHCPD  ??

I am running a home network that works fine with static IP's .

When I  install dhcpd for  dynamic IP's  it works fine except for 
connecting to the NET.

On the linux client if you ping the outside world an error  Network is 
unreachable.

There are no errors in /var/log/messages with the failed internet attempt.

I have disabled the firewall on the gateway with no difference.

All client machines are affected
The client machines  I have tried are : Redhat, win98, win2000, winXP 
but I still can't connect to the NET. (static IP's  can OK)

My Gateway  is connected via Bigpond ADSL  via  an old alcatel speed 
touch home modem and also serves DHCPd,   THe IP is 10.0.0.1  ,

My Gateway  runs  updated RedHat 9.   ...  networking:   PPPOE,  
iptables , snort, acid . etc

Theres probably some setting somewhere   I wish i knew.

TIA

Roger Salisbury



--
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] Masquerding not compatible with DHCPD (dynamic ipgeneration

2004-03-24 Thread Roger Salisbury


thanks peter , kevin  phil

my first mod

was to correct /etc/dhcpd.conf with

option routers  10.0.0.1;

 the error message to the ping command changed 

to

... 100% packet loss .   



I don't know where to add the following.

default via 10.0.0.1 dev eth0;

Thanks for your help

Roger



http://lists.slug.org.au/archives/slug/2004/03/msg00605.html
Title: Re: [SLUG] 	Masquerding  not compatible with DHCPD (dynamic ipgeneration
























Re: [SLUG] 	Masquerding  not compatible with DHCPD (dynamic ipgeneration)


[ Thread Index | 
Date Index | 
More slug
 Archives | 
SLUG Lists | 
SLUG Website ]



To: Roger Salisbury [EMAIL PROTECTED]
Subject: Re: [SLUG] 	Masquerding  not compatible with DHCPD (dynamic ipgeneration)
From: [EMAIL PROTECTED]
Date: Thu, 25 Mar 2004 15:33:22 +1100
Cc: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]








Roger,

It depends on how you have everything working.  NATing addresses from an
internal network
will not affect your internet connection if done correctly.  All NAT does
is stuff the packets with
a new source address.
Are you sure you have your firewall logging correctly? If you are using
iptables then I would
advise you log your denys see what you are actually doing incorrectly.

Kevin



Hi all

Firstly is Masquerding  compatible with DHCPD  ??

I am running a home network that works fine with static IP's .

When I  install dhcpd for  dynamic IP's  it works fine except for
connecting to the NET.

On the linux client if you ping the outside world an error  Network is
unreachable.

There are no errors in /var/log/messages with the failed internet attempt.

I have disabled the firewall on the gateway with no difference.

All client machines are affected
The client machines  I have tried are : Redhat, win98, win2000, winXP
but I still can't connect to the NET. (static IP's  can OK)

My Gateway  is connected via Bigpond ADSL  via  an old alcatel speed
touch home modem and also serves DHCPd,   THe IP is 10.0.0.1  ,

My Gateway  runs  updated RedHat 9.   ...  networking:   PPPOE,
iptables , snort, acid . etc

Theres probably some setting somewhere   I wish i knew.

TIA

Roger Salisbury



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
















Messages sorted by: [ date | thread ]
Prev by Date:
[SLUG] Masquerding  not compatible with DHCPD (dynamic ip generation)

Next by Date:
Re: [SLUG] 	Masquerding  not compatible with DHCPD (dynamic ipgeneration)


Previous by thread:
Re: [SLUG]  Masquerding  not compatible with DHCPD (dynamic ipgeneration)

Next by thread:
[SLUG] CUPS assumptions









http://slug.org.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] Masquerding not compatible with DHCPD (dynamicipgeneration

2004-03-24 Thread Roger Salisbury


Thanks All 

it works now.

I extended the  range to :

range 10.0.0.0 10.0.0.253;

And rebooted

 it works. ...

using
 /etc/init.d/dhcpd stop  /etc/init.d/dhcpd start 
didn't work

Also only on reboot dhcpd complains in /var/log/messages :

Mar 25 17:18:48 front dhcpd: Not configured to listen on any interfaces!

But thereafter it doesn't   complain with:
dhcpd -d 
or 
  /etc/init.d/dhcpd stop  /etc/init.d/dhcpd start combo

interesting !!

Thanks again

Roger

http://lists.slug.org.au/archives/slug/2004/03/msg00613.html
Title: Re: [SLUG] Masquerding not compatible with DHCPD (dynamicipgeneration

























Re: [SLUG] Masquerding not compatible with DHCPD (dynamicipgeneration


[ Thread Index | 
Date Index | 
More slug
 Archives | 
SLUG Lists | 
SLUG Website ]



To: Roger Salisbury [EMAIL PROTECTED]
Subject: Re: [SLUG] Masquerding not compatible with DHCPD (dynamicipgeneration
From: Phil Scarratt [EMAIL PROTECTED]
Date: Thu, 25 Mar 2004 17:03:16 +1100
Cc: [EMAIL PROTECTED]
Organization: Draxsen Technologies
User-agent: Mozilla Thunderbird 0.5 (Windows/20040207)







Roger Salisbury wrote:

 
 
 thanks peter , kevin  phil
 
 my first mod
 
 was to correct /etc/dhcpd.conf with
 
 option routers  10.0.0.1;
 
 
  the error message to the ping command changed
 to
 
 ... 100% packet loss .  
 
 
 I don't know where to add the following.
 
 default via 10.0.0.1 dev eth0;
 
 Thanks for your help
 
 Roger
 
 

Guessing here as I'm not sure if i've filtered/guessed the correct info: 
ping'ing outside world from internal machine behind a gateway machine 
which is serving dhcp to internal clients receives 100% packet loss.

Do logs say anything?

Either a. the gateway is refusing to forward the packets, or b. NAT is 
not enabled, or c. the gateway does not know (have a route) how to get 
back to the client. In all 3 cases the pong packet will not return to 
the client.

Has the IP address range changed when going from static to dhcp?

Fil








References:

Re: [SLUG] Masquerding not compatible with DHCPD (dynamicipgeneration
From: Roger Salisbury




Messages sorted by: [ date | thread ]
Prev by Date:
Re: [SLUG] Committee Nomination: Sarah Webster

Next by Date:
Re: [SLUG] CUPS assumptions


Previous by thread:
Re: [SLUG] Masquerding not compatible with DHCPD (dynamicipgeneration









http://slug.org.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] Help with some kernel hacking.eml

2003-12-17 Thread Roger Salisbury


I was a newbie doning this a few years ago.
I was building kernels for MIPS(SGI)  and SPARC (SUN) proccessors.
First I built kernels for X86  machines on a X86 machine.
Then I built kernels for sparc / mips  machines on a X86 machine.
IE crosscompiled on a X86  host  for different  target platforms.
Its a long winding road perhaps but you will learn alot.
First learn how to build kernels for X86.
crosscompiling is a little more difficult.
Cheers Roger

- Original Message -
From: DE LUCA Ben [EMAIL PROTECTED]
To: Rob B [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, December 18, 2003 8:55 AM
Subject: Re: [SLUG] Help with some kernel hacking
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Fw: external modem unexpected disconnections Redhat 9

2003-11-01 Thread Roger Salisbury




Ross 
Mitchel

Mark 
Canavan
Grant 
Parnell
Brad 
Kowalczyk
Peter 
Vogel

Thanks all 
for your input. What a community!
However 
I'm still wondering.
I have 
tried the RedHat9 machine from my home connection. IE a normal  proven 
OKtelephone line.
And have been cutoff as 
below with the "Hangup (SIGHUP)" being the only hint.
As 
suggested by Grant : The "^@" definetly beingNOT related as I am 
still on line OK after that string.
Proved as tailing in real time "/var/log/messages" insted of 
PPP-logfile.
The 
following line is note worthy:

Nov 
1 15:42:37 localhost modprobe: modprobe: Can't locate module 
ppp-compress-21
Haven't determined if "S2=255" is in modem script. Where is it 
kept?
"KPPP 
Configuration" app doesn't seem to provide the opportunity unless you can put it 
in "initialization string 2".
There 
is an "Escape string" of "+++". is that cool?
There 
is an "Guard time (sec/50" and a "Post-init delay (sec/100)" 
of "50". is that cool?

I 
tried to send mail to the sluglist from the "Redhat 9 "[EMAIL PROTECTED]" machine but 
couldn't figure how to cut  paste from console to Mozilla Mail 
1.2.1.
If 
its possible to cut  paste like in Windows please inform me.

Thanks Again All!

Roger

# BELOW is /var/log/messages 
#
Nov 1 15:42:36 localhost modprobe: modprobe: 
Can't locate module ppp0Nov 1 
15:42:36 localhost modprobe: modprobe: Can't locate module ppp0Nov 1 15:42:36 localhost kernel: CSLIP: code 
copyright 1989 Regents of the University of CaliforniaNov 1 15:42:36 localhost kernel: PPP generic 
driver version 2.4.2Nov 1 
15:42:36 localhost pppd[2556]: pppd 2.4.1 started by root, uid 0Nov 1 15:42:36 localhost pppd[2556]: Using 
interface ppp0Nov 1 15:42:36 
localhost pppd[2556]: Connect: ppp0 -- /dev/ttyS0Nov 1 15:42:36 localhost 
/etc/hotplug/net.agent: assuming ppp0 is already upNov 1 15:42:37 localhost pppd[2556]: Remote 
message: ^@Nov 1 15:42:37 
localhost modprobe: modprobe: Can't locate module ppp-compress-21Nov 1 15:42:37 localhost kernel: PPP Deflate 
Compression module registeredNov 
1 15:42:37 localhost modprobe: modprobe: Can't locate module 
ppp-compress-21Nov 1 15:42:37 
localhost pppd[2556]: local IP 
address 203.40.136.77Nov 1 
15:42:37 localhost pppd[2556]: remote IP address 144.130.139.242Nov 1 15:42:37 localhost pppd[2556]: 
primary DNS address 
203.49.70.92Nov 1 15:42:37 
localhost pppd[2556]: secondary DNS address 
139.134.2.190## On line without a problem right 
here#Nov 1 15:52:06 localhost pppd[2556]: Hangup 
(SIGHUP)Nov 1 15:52:06 
localhost pppd[2556]: Modem hangupNov 
1 15:52:06 localhost pppd[2556]: Connection terminated.Nov 1 15:52:06 localhost pppd[2556]: Connect 
time 9.5 minutes.Nov 1 15:52:06 
localhost pppd[2556]: Sent 10960 bytes, received 21733 bytes.Nov 1 15:52:06 localhost 
/etc/hotplug/net.agent: NET unregister event not supportedNov 1 15:52:06 localhost modprobe: modprobe: 
Can't locate module ppp0Nov 1 
15:52:06 localhost pppd[2556]: Exit.Thanks Grant .. alot to go 
on.
The line 
was isolated. I disconnected the eftpos  ebay machines and 
phone
lines 
etc.
I have 
since found out that there is a strong possibility the line is
ADSL. 
( due to a shop move to a bigger 
premise)
There is 
no filter on the line.
I asked 
the IT guy and he reckons the filter is to protect the 
high
bandwidth 
ADSL from the voice 
analogue
Not the 
other way around so it shoudn't be a problem.

I will now 
try and arrange (if possible an ADSL account  adsl 
modem.)

I never 
have installed an ADSL account on 
linux so any link to howtos,
gotchas, 
FAQs , best modems to use I would greatly 
appreciate.
If I 
thought the lists search egine was any good I would use it . 
Nodoubt
this issue 
has a been popular thread in the past.

Thanks 
Roger
PS
Anybody 
wanting to buy a Telstra Retail Franchaise ?
If so a 
shop is already setup at 10 Belmore Rd Randwick Sydney 2031
Telestar 
Communications ( 
www.telestar.com.au ) has moved into corporate
sales , 
and the existing retail shop at Randwick (10 belmore Rd) is
winding 
down.
Call 
1300658687 ask for Sam or Julie or 
email [EMAIL PROTECTED] or
[EMAIL PROTECTED]


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] KPPP external modem unexpected disconnections forced by remote end.

2003-10-31 Thread Roger Salisbury



Hi sluggers

Someone may had the very same modem 
problem listed below.

IE a "^@" sequence sent from the remote end. 
(ISP=bigpond)
I am running RedHat 9 and having trouble with 
frequent unexpected disconnections with a bigpond dialup 
account.
Have tried different dial up 56 external modems 
with the exactly same problem.

The hint given belopw is for some reason 
always a"^@" sent from the 
remote end.

I nearly always get cutoff within 15 
minutes, although the longest is about 35 minutes.

Any help greatly appreciated

Thanks 
Roger





KPPP error message:
###
Notice that the 
remote system has sent the following message:"^@"This may give you a 
hint why the the connection has failed.Check that you supplied the correct 
username and 
password!#



Extra Info:
ATI responses (won't mean much)  
log
#
ATI : 
33600ATI 3: V2.200-V34_ACF_DS1ATI 6: RCV336DPFSP Rev 
44BC#ct 
29 00:11:26 localhost pppd[4701]: pppd 2.4.1 started by root, uid 0Oct 29 
00:11:26 localhost pppd[4701]: Using interface ppp0Oct 29 00:11:26 localhost 
pppd[4701]: Connect: ppp0 -- /dev/ttyS1Oct 29 00:11:27 localhost 
pppd[4701]: Remote message: ^@Oct 29 00:11:27 localhost pppd[4701]: 
local IP address 203.40.128.204Oct 29 00:11:27 localhost pppd[4701]: 
remote IP address 144.130.139.242Oct 29 00:11:27 localhost pppd[4701]: 
primary DNS address 203.49.70.92Oct 29 00:11:27 localhost 
pppd[4701]: secondary DNS address 139.134.2.190Oct 29 00:24:22 localhost 
pppd[4701]: Hangup (SIGHUP)Oct 29 00:24:22 localhost pppd[4701]: Modem 
hangupOct 29 00:24:22 localhost pppd[4701]: Connection terminated.Oct 29 
00:24:22 localhost pppd[4701]: Connect time 13.0 minutes.Oct 29 00:24:22 
localhost pppd[4701]: Sent 45144 bytes, received 7870 bytes.Oct 29 00:24:22 
localhost pppd[4701]: 
Exit.#

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] KPPP external modem unexpected disconnections forced by remote end.

2003-10-31 Thread Roger Salisbury
Thanks Grant .. alot to go on.
The line was isolated. I disconnected the eftpos  ebay machines and phone
lines etc.
I have since found out that there is a strong possibility  the line is
ADSL. (  due to a shop move to a bigger premise)
There is no filter on the line.
I asked the IT guy and he reckons the filter is to protect the high
bandwidth ADSL from the  voice analogue
Not the other way around so it shoudn't be a problem.

I will now try and arrange (if possible an ADSL account   adsl modem.)

I never have installed an ADSL account  on linux so any link to howtos,
gotchas, FAQs , best modems to use I would greatly appreciate.
If I thought the lists search egine was any good  I would use it . Nodoubt
this issue has a been popular thread in the past.

Thanks Roger
PS
Anybody wanting to buy a Telstra Retail Franchaise ?
If so a shop is already setup at 10 Belmore Rd Randwick  Sydney 2031
Telestar Communications  ( www.telestar.com.au ) has moved into corporate
sales , and the existing retail shop at Randwick   (10 belmore Rd)  is
winding down.
Call 1300658687  ask for Sam or Julie or email [EMAIL PROTECTED] or
[EMAIL PROTECTED]



- Original Message -
From: Grant Parnell [EMAIL PROTECTED]
To: Roger Salisbury [EMAIL PROTECTED]
Cc: 
Sent: Friday, October 31, 2003 4:56 AM
Subject: Re: [SLUG] KPPP external modem  unexpected disconnections forced
by remote end.


 ^@ is mnemonic for a null. It's my opinion that this isn't significant in
 your setup. You might want to add S2=255 to your modem init string if it's
 not there already. Some (dodgy) modems do not honour the 0.5 second guard
 time gap to the +++ escape sequence, thus anytime three plusses occur in
 the outbound data stream the modem might flip into command mode and
 shortly after disconnection occurs due to LCP timeouts. The S2=255 setting
 usually disabled the escape sequence such that it will only go into
 command mode when the carrier drops or the DTR signal is dropped.

 It would also help if you turned on the PPP debug option, the level of
 logging shown isn't enough for us to really see what's going on.

 Another possibility is either an inactivity timeout or a firewall
 rejecting possible heartbeat signals. Try turning on the LCP keepalive
 (from memory) option. Or failing that... a simple script like so

 #!/bin/sh
 while [ 0 ]; do
 ping -c 100 -w 1 -i 60 www.yourispdomain.com.au
 done

 That'll ping 100 times, wait up to a second for the response, do this
 every 60 seconds then repeat indefinitely. Thus producing *some* traffic
 defeating idle timeouts.


 On Fri, 31 Oct 2003, Roger Salisbury wrote:

  Hi sluggers
 
  Someone may had the very same  modem problem listed below.
 
  IE  a ^@  sequence sent from the remote end. (ISP=bigpond)
 
  I am running RedHat 9 and having trouble with frequent unexpected
disconnections with a bigpond dialup account.
  Have tried different dial up 56 external modems with the  exactly same
problem.
 
  The hint given belopw  is for some reason always a  ^@ sent from the
remote end.
 
  I nearly always get cutoff  within 15 minutes,  although the longest is
about 35 minutes.
 
  Any help greatly appreciated
 
  Thanks
  Roger
 
 
 
 
 
 
  KPPP error message:
  ###
  Notice that the remote system has sent the following message:
  ^@
  This may give you a hint why the the connection has failed.
  Check that you supplied the correct username and password!
  #
 
 
 
  Extra Info:
  ATI responses (won't mean much)  log
  #
  ATI :  33600
  ATI 3:  V2.200-V34_ACF_DS1
  ATI 6:  RCV336DPFSP Rev 44BC
  #
  ct 29 00:11:26 localhost pppd[4701]: pppd 2.4.1 started by root, uid 0
  Oct 29 00:11:26 localhost pppd[4701]: Using interface ppp0
  Oct 29 00:11:26 localhost pppd[4701]: Connect: ppp0 -- /dev/ttyS1
  Oct 29 00:11:27 localhost pppd[4701]: Remote message: ^@
  Oct 29 00:11:27 localhost pppd[4701]: local  IP address 203.40.128.204
  Oct 29 00:11:27 localhost pppd[4701]: remote IP address 144.130.139.242
  Oct 29 00:11:27 localhost pppd[4701]: primary   DNS address 203.49.70.92
  Oct 29 00:11:27 localhost pppd[4701]: secondary DNS address
139.134.2.190
  Oct 29 00:24:22 localhost pppd[4701]: Hangup (SIGHUP)
  Oct 29 00:24:22 localhost pppd[4701]: Modem hangup
  Oct 29 00:24:22 localhost pppd[4701]: Connection terminated.
  Oct 29 00:24:22 localhost pppd[4701]: Connect time 13.0 minutes.
  Oct 29 00:24:22 localhost pppd[4701]: Sent 45144 bytes, received 7870
bytes.
  Oct 29 00:24:22 localhost pppd[4701]: Exit.
  #
 
 

 --
 ---GRiP---
 Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist,
 Linux Guru, SLUG/AUUG/Linux Australia member, Sydney Flashmobber,
 BMX rider, Walker, Raver  rave music

Fw: followup: [SLUG] Almost impossible Question : Latest XFree86install on debian

2003-04-03 Thread Roger Salisbury



OK 2 files weren't attached.
until now


- Original Message - 
From: Roger Salisbury 
To: 
Sent: Thursday, April 03, 2003 2:05 PM
Subject: followup: [SLUG] Almost impossible Question : Latest 
XFree86 install on debian

My first ever Post  what a response 

Thanks guys
Here info for those with similiar 
probs

Tom provided a work aroud solution:
#
Sent me his file 
"XF86Config-4.txt"
generated on mandrake 
which I edited to suit my keyboard  mouse as 
per
"XF86Config-4.new"
And it works great!
Files attached FYI .
#

To fix the the 
"upgradeXfree86"problem ..

Scott suggested:
#
It appears to be missing the zlib.h file.try installing zlibg1-dev, 

#


 I can't find "zlibg1-dev"
only found :zlibg_1.1.4-1_i386.deb  
zlib-bin1.1.4-1_i386.deb
... any suggestions 
...have tried http://packages.debian.org



James gave this exellent advice:
#
An easier solution would be to use one of the XFree86 4.2.x apt-able 
sources from http://www.apt-get.org/ and 
install the "latest" version using apt. OK, so it wouldn't be as bleeding 
edge as the CVS branch but recent enough to download NVidia's driver, do the 
necessary kernel compile things and reboot. Apparently NVidia's 
how-to works as long as you follow it to the letter
#


.. site currently I can't access

I spent huge number of hrs downloading  
compiling, although I have a work around ,
the problem is ongoing 


Cheers
Roger



Hi Debian users

I'm trying to install a 
Nvidia: Diamond Viper 770 . 
RIVATNT2 
Video Adapter.
on a Woody debian system. The $5 disk at the 
SLUG AGM.
No Joy getting it to work above 800/600 
resolution with "vga" or "nv" drivers.
OK then: load the lasted  
try!
Got latest CVS treefrom info 
at www.xfree86.org. "cvs 
checkout -A xc"
But can't finalise the install!
 have produced the last 16 lines of 
output.

Question IS: what is going wrong , is there a 
fix?
Has anyone failed at this point 
before.

Many Thanks for your help
Cheers
Roger


two commands thus far.
#
#make World ..builds 
OK
#make install ..fails with 
"gunzip.c:9: zlib.h: No such file or directory"

Last 16 lines of output:
#

make[5]: Leaving directory 
`/var/lib/cvs/xc/lib/font/bitmap/module'make[4]: Leaving directory 
`/var/lib/cvs/xc/lib/font/bitmap'making all in 
lib/font/fontfile...make[4]: Entering directory 
`/var/lib/cvs/xc/lib/font/fontfile'rm -f gunzip.ogcc -c -O2 
-fno-strength-reduce -ansi 
-pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef -I../../../include/fonts -I../include 
-I../../../programs/Xserver/include -I../../../exports/include -I../../.. 
-I../../../exports/include 
-Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE 
-D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DFONTDIRATTRIB  -DBUILD_SPEEDO 
-DBUILD_TYPE1 -DBUILD_CID  -DBUILD_FREETYPE 
-DFONT_ENCODINGS_DIRECTORY=\"/usr/X11R6/lib/X11/fonts/encodings/encodings.dir\" 
-DX_GZIP_FONT_COMPRESSION 
gunzip.cgunzip.c:9: zlib.h: No such file or directorymake[4]: *** 
[gunzip.o] Error 1make[4]: Leaving directory 
`/var/lib/cvs/xc/lib/font/fontfile'make[3]: *** [fontfile] Error 
2make[3]: Leaving directory `/var/lib/cvs/xc/lib/font'make[2]: *** 
[install] Error 2make[2]: Leaving directory 
`/var/lib/cvs/xc/lib'make[1]: *** [install] Error 2make[1]: Leaving 
directory `/var/lib/cvs/xc'make: *** [install] Error 
2
#

# **
# Refer to the XF86Config man page for details about the format of
# this file.
# **

Section Files
FontPath unix/:7100

FontPath /usr/lib/X11/fonts/misc
Fontpath/usr/lib/X11/fonts/cyrillic
FontPath/usr/lib/X11/fonts/100dpi/:unscaled
FontPath/usr/lib/X11/fonts/75dpi/:unscaled
FontPath/usr/lib/X11/fonts/Type1
FontPath/usr/lib/X11/fonts/Speedo
FontPath/usr/lib/X11/fonts/100dpi
FontPath/usr/lib/X11/fonts/75dpi

EndSection



Section ServerFlags
#DontZap # disable CrtlAltBS (server abort)
AllowMouseOpenFail # 

[SLUG] Almost impossible Question : Latest XFree86 install on debian

2003-04-02 Thread Roger Salisbury




Hi Debian users

I'm trying to install a 
Nvidia: Diamond Viper 770 . 
RIVATNT2 
Video Adapter.
on a Woody debian system. The $5 disk at the SLUG 
AGM.
No Joy getting it to work above 800/600 resolution 
with "vga" or "nv" drivers.
OK then: load the lasted  
try!
Got latest CVS treefrom info at 
www.xfree86.org. "cvs 
checkout -A xc"
But can't finalise the install!
I have produced the last 16 lines of 
output.

Question IS: what is going wrong , is there a 
fix?
Has anyone failed at this point 
before.

Many Thanks for your help
Cheers
Roger


two commands thus far.
#
#make World ..builds 
OK
#make install ..fails with 
"gunzip.c:9: zlib.h: No such file or directory"

Last 16 lines of output:
#

make[5]: Leaving directory 
`/var/lib/cvs/xc/lib/font/bitmap/module'make[4]: Leaving directory 
`/var/lib/cvs/xc/lib/font/bitmap'making all in 
lib/font/fontfile...make[4]: Entering directory 
`/var/lib/cvs/xc/lib/font/fontfile'rm -f gunzip.ogcc -c -O2 
-fno-strength-reduce -ansi 
-pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef -I../../../include/fonts -I../include 
-I../../../programs/Xserver/include -I../../../exports/include -I../../.. 
-I../../../exports/include 
-Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE 
-D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DFONTDIRATTRIB  -DBUILD_SPEEDO 
-DBUILD_TYPE1 -DBUILD_CID  -DBUILD_FREETYPE 
-DFONT_ENCODINGS_DIRECTORY=\"/usr/X11R6/lib/X11/fonts/encodings/encodings.dir\" 
-DX_GZIP_FONT_COMPRESSION 
gunzip.cgunzip.c:9: zlib.h: No such file or directorymake[4]: *** 
[gunzip.o] Error 1make[4]: Leaving directory 
`/var/lib/cvs/xc/lib/font/fontfile'make[3]: *** [fontfile] Error 
2make[3]: Leaving directory `/var/lib/cvs/xc/lib/font'make[2]: *** 
[install] Error 2make[2]: Leaving directory 
`/var/lib/cvs/xc/lib'make[1]: *** [install] Error 2make[1]: Leaving 
directory `/var/lib/cvs/xc'make: *** [install] Error 
2
#
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


followup: [SLUG] Almost impossible Question : Latest XFree86 installon debian

2003-04-02 Thread Roger Salisbury



My first ever Post  what a response 

Thanks guys
Here info for those with similiar 
probs

Tom provided a work aroud solution:
#
Sent me his file 
"XF86Config-4.txt"
generated on mandrake 
which I edited to suit my keyboard  mouse as 
per
"XF86Config-4.new"
And it works great!
Files attached FYI .
#

To fix the the 
"upgradeXfree86"problem ..

Scott suggested:
#
It appears to be missing the zlib.h file.try installing zlibg1-dev, 

#


 I can't find "zlibg1-dev"
only found :zlibg_1.1.4-1_i386.deb  
zlib-bin1.1.4-1_i386.deb
... any suggestions 
...have tried http://packages.debian.org



James gave this exellent advice:
#
An easier solution would be to use one of the XFree86 4.2.x apt-able 
sources from http://www.apt-get.org/ and 
install the "latest" version using apt. OK, so it wouldn't be as bleeding 
edge as the CVS branch but recent enough to download NVidia's driver, do the 
necessary kernel compile things and reboot. Apparently NVidia's 
how-to works as long as you follow it to the letter
#


.. site currently I can't access

I spent huge number of hrs downloading  
compiling, although I have a work around ,
the problem is ongoing 


Cheers
Roger



Hi Debian users

I'm trying to install a 
Nvidia: Diamond Viper 770 . 
RIVATNT2 
Video Adapter.
on a Woody debian system. The $5 disk at the 
SLUG AGM.
No Joy getting it to work above 800/600 
resolution with "vga" or "nv" drivers.
OK then: load the lasted  
try!
Got latest CVS treefrom info 
at www.xfree86.org. "cvs 
checkout -A xc"
But can't finalise the install!
 have produced the last 16 lines of 
output.

Question IS: what is going wrong , is there a 
fix?
Has anyone failed at this point 
before.

Many Thanks for your help
Cheers
Roger


two commands thus far.
#
#make World ..builds 
OK
#make install ..fails with 
"gunzip.c:9: zlib.h: No such file or directory"

Last 16 lines of output:
#

make[5]: Leaving directory 
`/var/lib/cvs/xc/lib/font/bitmap/module'make[4]: Leaving directory 
`/var/lib/cvs/xc/lib/font/bitmap'making all in 
lib/font/fontfile...make[4]: Entering directory 
`/var/lib/cvs/xc/lib/font/fontfile'rm -f gunzip.ogcc -c -O2 
-fno-strength-reduce -ansi 
-pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef -I../../../include/fonts -I../include 
-I../../../programs/Xserver/include -I../../../exports/include -I../../.. 
-I../../../exports/include 
-Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE 
-D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DFONTDIRATTRIB  -DBUILD_SPEEDO 
-DBUILD_TYPE1 -DBUILD_CID  -DBUILD_FREETYPE 
-DFONT_ENCODINGS_DIRECTORY=\"/usr/X11R6/lib/X11/fonts/encodings/encodings.dir\" 
-DX_GZIP_FONT_COMPRESSION 
gunzip.cgunzip.c:9: zlib.h: No such file or directorymake[4]: *** 
[gunzip.o] Error 1make[4]: Leaving directory 
`/var/lib/cvs/xc/lib/font/fontfile'make[3]: *** [fontfile] Error 
2make[3]: Leaving directory `/var/lib/cvs/xc/lib/font'make[2]: *** 
[install] Error 2make[2]: Leaving directory 
`/var/lib/cvs/xc/lib'make[1]: *** [install] Error 2make[1]: Leaving 
directory `/var/lib/cvs/xc'make: *** [install] Error 
2
#
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug