[speedtouch] Re: Speedtouch and LAN with static IP and Gateway

2007-09-08 Thread C A Tomy

 



From: [EMAIL PROTECTED] on behalf of Gilles Espinasse
Sent: Sat 9/8/2007 2:29 PM
To: speedtouch@ml.free.fr
Subject: [speedtouch] Re: Speedtouch and LAN with static IP and Gateway





- Original Message -
From: C A Tomy [EMAIL PROTECTED]
To: speedtouch@ml.free.fr
Sent: Saturday, September 08, 2007 5:27 AM
Subject: [speedtouch] Re: Speedtouch and LAN with static IP and Gateway


  Is it possible to make configuation based on br2684 that uses amarpd.
You do not need both together.
Both are parts of old 1483 and new 2684 RFC.
They are two different protocols :
- atmarp/atmarpd is for routed IP
- br2684 is for bridged ethernet
br2684 is courantly used with PPPoE but PPPoE is not the only br2684
solution. You should be able to use with a static IP (and maybe too with
dhcp / not so sure).


My network does not support dhcp. So what options are left for me? 

Tommy



  If so how is it done?
  Some time back, I assumed my connection to be PPPoE and tried
  to configure my connection. But this is what I got :

 localhost peers # br2684ctl -b -c 0 -a 8.35 

  sleep 5
 br2684ctl[7028]: Interface nas0 created sucessfully
 br2684ctl[7028]: Communicating over ATM 0.8.35, encapsulation: LLC
 br2684ctl[7028]: Interface configured
 localhost peers # ifconfig nas0 10.200.3.190 netmask 255.255.0.0 
  sleep 10 
 localhost peers # route add default gw 10.200.1.1
 localhost peers # pppd call speedtch
There, you should test :
- if pinging the gateway work,
- then test to ping numerical google IP 209.85.129.104
That will work if PPPoE is not required.
- then test www.google.com
that will work if dns are properly set

Gilles


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]

   



-- Binary/unsupported file stripped by Listar --
-- Type: application/ms-tnef
-- File: winmail.dat


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch and LAN with static IP and Gateway

2007-09-08 Thread Gilles Espinasse


- Original Message - 
From: C A Tomy [EMAIL PROTECTED]
To: speedtouch@ml.free.fr
Sent: Saturday, September 08, 2007 12:43 PM
Subject: [speedtouch] Re: Speedtouch and LAN with static IP and Gateway



   Is it possible to make configuation based on br2684 that uses amarpd.
 You do not need both together.
 Both are parts of old 1483 and new 2684 RFC.
 They are two different protocols :
 - atmarp/atmarpd is for routed IP
 - br2684 is for bridged ethernet
 br2684 is courantly used with PPPoE but PPPoE is not the only br2684
 solution. You should be able to use with a static IP (and maybe too with
 dhcp / not so sure).


 My network does not support dhcp. So what options are left for me?

That should have been clear from the above lines.
Use a static IP and gateway

   If so how is it done?
   Some time back, I assumed my connection to be PPPoE and tried
   to configure my connection. But this is what I got :
 
  localhost peers # br2684ctl -b -c 0 -a 8.35 
 
   sleep 5
  br2684ctl[7028]: Interface nas0 created sucessfully
  br2684ctl[7028]: Communicating over ATM 0.8.35, encapsulation: LLC
  br2684ctl[7028]: Interface configured
  localhost peers # ifconfig nas0 10.200.3.190 netmask 255.255.0.0 
   sleep 10 
  localhost peers # route add default gw 10.200.1.1
  localhost peers # pppd call speedtch
 There, you should test :
 - if pinging the gateway work,
 - then test to ping numerical google IP 209.85.129.104
 That will work if PPPoE is not required.
 - then test www.google.com
 that will work if dns are properly set

Have you tested once IP and gateway are set, if ping work?
If you don't have a login/password, PPPoE is unlikely to be used.

Gilles


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch and LAN with static IP and Gateway

2007-09-08 Thread C A Tomy

 



From: [EMAIL PROTECTED] on behalf of Gilles Espinasse
Sent: Sat 9/8/2007 8:32 PM
To: speedtouch@ml.free.fr
Subject: [speedtouch] Re: Speedtouch and LAN with static IP and Gateway





- Original Message -
From: C A Tomy [EMAIL PROTECTED]
To: speedtouch@ml.free.fr
Sent: Saturday, September 08, 2007 12:43 PM
Subject: [speedtouch] Re: Speedtouch and LAN with static IP and Gateway



   Is it possible to make configuation based on br2684 that uses amarpd.
 You do not need both together.
 Both are parts of old 1483 and new 2684 RFC.
 They are two different protocols :
 - atmarp/atmarpd is for routed IP
 - br2684 is for bridged ethernet
 br2684 is courantly used with PPPoE but PPPoE is not the only br2684
 solution. You should be able to use with a static IP (and maybe too with
 dhcp / not so sure).


 My network does not support dhcp. So what options are left for me?

That should have been clear from the above lines.
Use a static IP and gateway

   If so how is it done?
   Some time back, I assumed my connection to be PPPoE and tried
   to configure my connection. But this is what I got :
 
  localhost peers # br2684ctl -b -c 0 -a 8.35 
 
   sleep 5
  br2684ctl[7028]: Interface nas0 created sucessfully
  br2684ctl[7028]: Communicating over ATM 0.8.35, encapsulation: LLC
  br2684ctl[7028]: Interface configured
  localhost peers # ifconfig nas0 10.200.3.190 netmask 255.255.0.0 
   sleep 10 
  localhost peers # route add default gw 10.200.1.1
  localhost peers # pppd call speedtch
 There, you should test :
 - if pinging the gateway work,
 - then test to ping numerical google IP 209.85.129.104
 That will work if PPPoE is not required.
 - then test www.google.com
 that will work if dns are properly set

Have you tested once IP and gateway are set, if ping work?
If you don't have a login/password, PPPoE is unlikely to be used.


Gilles


I suppose in his reply to my initial posting, Duncan was telling me how to set 
up a speedtouch-usb connection with static ip and gateway using amarpd.  When I 
tried this method, though I failed to ping, at least I do not get the error 
network not reachable. But I have so far not been sucessful with this method. 
So, it seems the other option that is left for me PPPoA. That takes me back to 
my original posting. How to confiure PPPoA connection with static IP and static 
gateway. I know that I can give static IP of my mechine in /etc/ppp/options. 
But where to give static gateway? And if it could be given, what is the syntax? 

Tommy


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]

   



-- Binary/unsupported file stripped by Listar --
-- Type: application/ms-tnef
-- File: winmail.dat


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch and LAN with static IP and Gateway

2007-09-08 Thread Duncan Sands

Hi Tomy,

 AAL5: tx 0 ( 0 err ), rx 0 ( 0 err, 0 drop )

this shows that no packets reached the speedtch driver, let alone
the modem - not surprising that you're not seeing much connectivity!
Something fundamental is broken in the way you have things configured.
Perhaps you could paste *exactly* the commands you used to configure
(with any output, errors etc).  Also, it may be worth sending the
output of dmesg.

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch and LAN with static IP and Gateway

2007-09-08 Thread Gilles Espinasse


- Original Message - 
From: C A Tomy [EMAIL PROTECTED]
To: speedtouch@ml.free.fr
Sent: Saturday, September 08, 2007 7:30 PM
Subject: [speedtouch] Re: Speedtouch and LAN with static IP and Gateway

...
 I suppose in his reply to my initial posting, Duncan was telling me how
 to set up a speedtouch-usb connection with static ip and gateway using
amarpd.
Read the first answer made by Duncan
It start with
This assumes your ISP is using routed ip.
It is probably not the case.

 When I tried this method, though I failed to ping, at least I do not get
 the error network not reachable. But I have so far not been sucessful
 with this method.
 So, it seems the other option that is left for me PPPoA.

No
First PPPoA like PPPoE is always used with a login / password.
If you do not have both, this is the sign that it is not the protocol you
use.
Have you tried bridged ethernet and static IP?

br2684ctl -b -c 0 -a 8.35 
ifconfig nas0 10.200.3.190 netmask 255.255.0.0
route add default gw 10.200.1.1
ping 10.200.1.1

ping 209.85.129.104

ping www.google.com
...
 That takes me back to my original posting.
 How to confiure PPPoA connection with static IP and static gateway.
That's never done that way.
Usually, you are authentified with your login / password.
Depending of the ISP settings, you receive an IP that is always the same or
a different oneat each time.

 I know that I can give static IP of my mechine in /etc/ppp/options.
Yes theorically like you may have a ppp session without login /password.
But we never saw an adsl ISP configured like that.
There is a technical reason to authentification the connection on a network
shared by different ISP.
Authentification allow to redirect the traffic to the ISP corresponding
where the user have payed for.

 But where to give static gateway? And if it could be given, what is the
syntax?
Gateway is usually received from ppp negociation.
Consider that if you don't have a login / password, you do not have
PPPo(A|E)

Gilles


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch and LAN with static IP and Gateway

2007-09-08 Thread C A Tomy

 



From: [EMAIL PROTECTED] on behalf of Duncan Sands
Sent: Sun 9/9/2007 1:11 AM
To: speedtouch@ml.free.fr
Subject: [speedtouch] Re: Speedtouch and LAN with static IP and Gateway




Hi Tomy,

 AAL5: tx 0 ( 0 err ), rx 0 ( 0 err, 0 drop )

this shows that no packets reached the speedtch driver, let alone
the modem - not surprising that you're not seeing much connectivity!
Something fundamental is broken in the way you have things configured.
Perhaps you could paste *exactly* the commands you used to configure
(with any output, errors etc).  Also, it may be worth sending the
output of dmesg.

Ciao,

Duncan.


Hi Duncan,

Here is the set of commands exactly as I  used to configure the connection:

localhost ~ # atmsigd -b

localhost ~ # ilmid -b

localhost ~ # echo starting atmarpd server:

starting atmarpd server:

localhost ~ # atmarpd -b -l syslog

localhost ~ # atmarp -c atm0

localhost ~ # ifconfig atm0 10.200.3.190 netmask 255.255.0.0 mtu 1500 up

localhost ~ # atmarp -s 10.200.1.1 8.35 null

localhost ~ # route add default gw 10.200.1.1

localhost ~ # ping 10.200.1.1

PING 10.200.1.1 (10.200.1.1) 56(84) bytes of data.

 

--- 10.200.1.1 ping statistics ---

29 packets transmitted, 0 received, 100% packet loss, time 28009ms

 

localhost ~ # 

The output of 'dmesg' runs as follows:

Linux version 2.6.21-gentoo-r4 ([EMAIL PROTECTED]) (gcc version 4.1.2 (Gentoo 
4.1.2)) #16 SMP Thu Sep 6 20:50:49 IST 2007

BIOS-provided physical RAM map:

sanitize start

sanitize end

copy_e820_map() start:  size: 0009fc00 end: 
0009fc00 type: 1

copy_e820_map() type is E820_RAM

copy_e820_map() start: 0009fc00 size: 0400 end: 
000a type: 2

copy_e820_map() start: 000f size: 0001 end: 
0010 type: 2

copy_e820_map() start: 0010 size: 176f end: 
177f type: 1

copy_e820_map() type is E820_RAM

copy_e820_map() start: 177f size: 3000 end: 
177f3000 type: 4

copy_e820_map() start: 177f3000 size: d000 end: 
1780 type: 3

copy_e820_map() start: fec0 size: 1000 end: 
fec01000 type: 2

copy_e820_map() start: fee0 size: 1000 end: 
fee01000 type: 2

copy_e820_map() start: ffb0 size: 0050 end: 
0001 type: 2

 BIOS-e820:  - 0009fc00 (usable)

 BIOS-e820: 0009fc00 - 000a (reserved)

 BIOS-e820: 000f - 0010 (reserved)

 BIOS-e820: 0010 - 177f (usable)

 BIOS-e820: 177f - 177f3000 (ACPI NVS)

 BIOS-e820: 177f3000 - 1780 (ACPI data)

 BIOS-e820: fec0 - fec01000 (reserved)

 BIOS-e820: fee0 - fee01000 (reserved)

 BIOS-e820: ffb0 - 0001 (reserved)

0MB HIGHMEM available.

375MB LOWMEM available.

found SMP MP-table at 000f4a60

Entering add_active_range(0, 0, 96240) 0 entries of 256 used

Zone PFN ranges:

  DMA 0 - 4096

  Normal   4096 -96240

  HighMem 96240 -96240

early_node_map[1] active PFN ranges

0:0 -96240

On node 0 totalpages: 96240

  DMA zone: 32 pages used for memmap

  DMA zone: 0 pages reserved

  DMA zone: 4064 pages, LIFO batch:0

  Normal zone: 719 pages used for memmap

  Normal zone: 91425 pages, LIFO batch:31

  HighMem zone: 0 pages used for memmap

DMI 2.2 present.

Using APIC driver default

ACPI: RSDP 000F6470, 0014 (r0 IntelR)

ACPI: RSDT 177F3000, 002C (r1 IntelR AWRDACPI 42302E31 AWRD0)

ACPI: FACP 177F3040, 0074 (r1 IntelR AWRDACPI 42302E31 AWRD0)

ACPI: DSDT 177F30C0, 4152 (r1 INTELR AWRDACPI 1000 MSFT  10C)

ACPI: FACS 177F, 0040

ACPI: APIC 177F7240, 0054 (r1 IntelR AWRDACPI 42302E31 AWRD0)

ACPI: PM-Timer IO Port: 0x408

ACPI: Local APIC address 0xfee0

ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)

Processor #0 15:1 APIC version 20

ACPI: IOAPIC (id[0x02] address[0xfec0] gsi_base[0])

IOAPIC[0]: apic_id 2, version 32, address 0xfec0, GSI 0-23

ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)

ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)

ACPI: IRQ0 used by override.

ACPI: IRQ2 used by override.

ACPI: IRQ9 used by override.

Enabling APIC mode:  Flat.  Using 1 I/O APICs

Using ACPI (MADT) for SMP configuration information

Allocating PCI resources starting at 2000 (gap: 1780:e740)

Built 1 zonelists.  Total pages: 95489

Kernel command line: root=/dev/hda3 gentoo=nodevfs 
video=vesafb:mtrr:3,ywrap,[EMAIL PROTECTED]

mapped APIC to d000 (fee0)

mapped IOAPIC to c000 (fec0)

Enabling fast FPU save and restore... done.

Enabling unmasked SIMD FPU exception support... done.

Initializing CPU#0

PID hash table entries: 2048 (order: 11, 

[speedtouch] Re: Speedtouch and LAN with static IP and Gateway

2007-09-08 Thread C A Tomy

 



From: [EMAIL PROTECTED] on behalf of Gilles Espinasse
Sent: Sun 9/9/2007 3:05 AM
To: speedtouch@ml.free.fr
Subject: [speedtouch] Re: Speedtouch and LAN with static IP and Gateway





First PPPoA like PPPoE is always used with a login / password.
If you do not have both, this is the sign that it is not the protocol you
use.
Have you tried bridged ethernet and static IP?

br2684ctl -b -c 0 -a 8.35 
ifconfig nas0 10.200.3.190 netmask 255.255.0.0
route add default gw 10.200.1.1
ping 10.200.1.1

ping 209.85.129.104

ping www.google.com

Gilles


Yes I tried it. The result was Destination host unreachable

Tommy

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]

   



-- Binary/unsupported file stripped by Listar --
-- Type: application/ms-tnef
-- File: winmail.dat


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]