Bienvenue sur eagle-usb

EagleDev

TailGunner

PagePrincipale :: DerniersChangements :: DerniersCommentaires :: ParametresUtilisateur :: Vous êtes 2600:1f28:365:80b0:c7ef:8a7b:52ae:b552
Hallo to all,
I'm "Tailgunner" and i'm Italian. i had a thread with baud123 and he encouraged me to open this page... if i can do something for someone, es. translate something english in italian, or doing some tests.. (i'm not a developer, but i know "something" about networks ...) well, tell me, my email is tailgunner75 at email _n0_sPam_dot it )


Discussion section for short messages
put here your messages that doesn't match the topics below



Testing 2.0.0 driver version


here are the 2.0.0 bnm's md5sum output (those that doesn't work)
2a3e67a3a0371c61be09795497dd54dc rtbldep0.bnm
a47a0440ecc9303b5706671b7a6bab67 rtbldep1.bnm
1191b815f851175022a231de39b04600 rtbldep2.bnm
ee49773a454b1beb27f961f041e4fead rtbldep3.bnm
b281fb3ff8ae0df8e5f6a2fdddb07727 rtbldep4.bnm

and there are the 1.9.8 bnm's md5sum output ( those that works....)
452853d5848f2ad3c7764d32746c2693 rtbldep0.bnm
50d5cc861bb648b8423ea39b1388f6fe rtbldep1.bnm
6ef7a8b1ab3878e9500d32572f19afc5 rtbldep2.bnm
33ad7c46e205621ebb84a3fa4c1588f1 rtbldep3.bnm
ad79b00b6a164a9edc6502c611f4add2 rtbldep4.bnm

i've updated the eaglediag output too (see above) --TailGunner 13102004







IPV6 6to4 testing


1) 	6to4pubgw --- internet --- firewall/nat ----- 6to4gw----ipv6net 
	|  (IPv6)  |           (IPv4(IPv6))            |         (IPv6)        |



in this case the firewall (on which is installed the modem) does not handles the ipv6 packets. When a client sends a request to a ipv6 public server, sends it to the 6to4's internal ipv6 address, which incapsulates the packet in a ipv4 (tunnel), and then forward it to the firewall's internal ipv4 address. The firewall then forward the packet (after nat) to the public 6to4 gateway....



2)        6to4pubgw --- internet --- firewall/6to4gw----ipv6net    
          |   (IPv6)  |    (IPv4(IPv6)) |         (IPv6)                 |


in this case the firewall handles both ipv6 and ipv4 stacks, when a client needs to communicate using ipv6, sends the request to the firewall's internal ipv6 address, the firewall then encapsulates the ipv6 packet in a ipv4 packet and send in to the 6to4 public gateway....


it works in both configurations, but i'm not able to surf on some sites..... having a look in the firewall's log, i saw error "[Eagle-usb] Discarding message (pdu 1502 > mru 1498)" again (the same error i had at the beginning....). it's a mss-mtu problem, and affects only tcp connections. on ipv4 i worked around that using the TCPMSS netfilter target, but TCPMSS does no exist (yet) for ipv6. I've read about Robert.Siemer's patch ( PPPdPatch page ) and i think that it should definitively fix the problem.... i'd like to know others opinions about that.... i'm using 1.9.8 driver version, but i'm just upgrading, (already recompiled kernel (2.4.27) and waiting for 2.0 release .... i haven't found tarball yet.... )
thank you, -- TailGunner 12102004



kernel panic
Fixed. Probably an hardware problem...


Netdev Watchdog problem
seems fixed by 1.9.6 version


Samba Configuration

In this section i've explained what i did to prevent Samba by sending broadcasts on modem's virtual interface

Edit the main samba configuration file smb.conf, generally it's locatated in /etc/smb.conf or /etc/samba/smb.conf. In section "global" add (or locate) parameter "interfaces" and specify on which interfaces samba will be active, for example:

interfaces = 192.168.3.5/24 127.0.0.1/8 (ip+mask) or interfaces = eth0 eth1 lo (interface name)

then, always in section "global" add (or locate) parameter "bind interfaces only" and set it to yes

bind interfaces only = yes

this force samba to use only the interfaces listed in "interfaces" parameter. Note that if you use this parameter, you must specify the loopback (lo) interface in interface list, otherwise smbpasswd and swat will not works properly.

here is a netstat output for samba service that show on which interface the samba daemons are listening after modified smb.conf

netstat -apn | grep smbd
tcp 0 0 192.168.x.x:139 0.0.0.0:* LISTEN 4515/smbd
tcp 0 0 127.0.0.1:139 0.0.0.0:* LISTEN 4515/smbd

netstat -apn | grep smbd

udp 0 0 192.168.x.x:137 0.0.0.0:* 4519/nmbd
udp 0 0 0.0.0.0:137 0.0.0.0:* 4519/nmbd
udp 0 0 192.168.x.x:138 0.0.0.0:* 4519/nmbd
udp 0 0 0.0.0.0:138 0.0.0.0:* 4519/nmbd



this is that i did, it should be sufficient to prevent samba by sending broadcasts on all interfaces. The nmbd daemon still listen on all interfaces (0.0.0.0) but it should only listen for incoming broadcasts, and send broadcasts only on specified interface.


Eaglediag output
here is a new eaglediag -a output
Diagnostic (1.14 2004/09/23) driver eagle-usb 20041013185355
# System Information
Linux linux02.chiavettieri.int 2.4.27 #3 mar ott 12 04:40:06 CEST 2004 i586 unknown unknown GNU/Linux
Mandrake Linux release 9.0 (dolphin) for i586
Linux version 2.4.27 (root@vlinux01.chiavettieri.int) (gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk)) #3 mar ott 12 04:40:06 CEST 2004
gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk) used : 3.2 (Mandrake Linux 9.0 3.2-1mdk)
# Dependances
kernel-source-2.4.19-16mdk
package ppp is not installed
package dhcp-client is not installed
dhcpcd-1.3.22pl1-3mdk
lrwxrwxrwx    1 root     root           21 ott 12 16:16 linux -> /usr/src/linux-2.4.27
lrwxr-xr-x    1 root     root           18 ott 22  2003 linux2.4.19 -> linux-2.4.19-16mdk
drwxr-xr-x   18 root     root         4096 ott 22  2003 linux-2.4.19-16mdk
drwxr-xr-x   15 luca     luca         4096 apr 19 18:18 linux-2.4.25
drwxr-xr-x   15 root     root         4096 ott  5 00:21 linux-2.4.26
drwxr-xr-x   15 573      573          4096 ott 12 05:15 linux-2.4.27
drwxrwxr-x   20 1046     1046         4096 giu 25 01:11 linux-2.6.3
# Kernel config : usb modules
eagle-usb             110948   2
ppp_async               6496   1  (autoclean)
ppp_generic            19996   3  (autoclean) [ppp_async]
slhc                    4608   0  (autoclean) [ppp_generic]
usb-uhci               21676   0  (unused)
usbcore                64448   1  [eagle-usb usb-uhci]
# pci & usb configuration (check for latency, only keep relevant lines about USB)
00:00.0 Host bridge: Intel Corp. 430TX - 82439TX MTXC (rev 01)
00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 01)
00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 01)
00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C (rev 10)
00:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel Corp. 430TX - 82439TX MTXC (rev 1).
      Master Capable.  Latency=32.
  Bus  0, device   7, function  0:
    ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 1).
  Bus  0, device   7, function  1:
    IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 1).
      Master Capable.  Latency=32.
      I/O at 0xf000 [0xf00f].
  Bus  0, device   7, function  2:
    USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 1).
      IRQ 11.
      Master Capable.  Latency=32.
      I/O at 0x6300 [0x631f].
  Bus  0, device   7, function  3:
    Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 1).
      IRQ 9.
  Bus  0, device  10, function  0:
    Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 16).
      IRQ 10.
      Master Capable.  Latency=32.  Min Gnt=32.Max Lat=64.
      I/O at 0x6400 [0x64ff].
      Non-prefetchable 32 bit memory at 0xe0000000 [0xe00000ff].
  Bus  0, device  12, function  0:
    Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS) (rev 0).
      IRQ 11.
      I/O at 0x6500 [0x651f].
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 016: ID 1110:9021
# interruptions' affectation
           CPU0
  0:    2588245          XT-PIC  timer
  1:       3329          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  8:          1          XT-PIC  rtc
 10:      83151          XT-PIC  eth0
 11:    2098368          XT-PIC  usb-uhci, eth1
 14:       5439          XT-PIC  ide0
 15:      29718          XT-PIC  ide1
NMI:          0
LOC:          0
ERR:          0
MIS:          0
# disk uses dma ?        [ OK ]
# module loaded ?        [ OK ]
# modem operational ?    [ OK ]
eagle-usb status display
-------------------------------------------------------------
Driver version 2.0.0
USB Bus : 001    USB Device : 016        Dbg mask: 0x0
Ethernet Interface : eth2
MAC: 00:60:4c:11:fd:20
Tx Rate  0000000320  Rx Rate  0000001504  Crc      0000000000
FEC      0000000000  Margin   0000000041  Atten    0000000008 dB
VID-CPE  0000000000  VID-CO   0000000028  HEC      0000000000
VPI      0000000008  VCI      0000000035  Delin          GOOD
Cells Rx 0000000093  Cells Tx 0000000069
Pkts Rx  0000000053  Pkts Tx  0000000039
OAM      0000000000  Bad VPI  0000000000  Bad CRC  0000000000
Oversiz. 0000000000

Modem is operational

# Config vpi/vci/encapsulation/isp : 8 23 6 (pppoa) IT01
# pppd launched ?        [ OK ]
# Service for connection [ OK ]
# /etc/resolv.conf should contain the DNS
nameserver 213.205.36.70
nameserver 213.205.32.70
eth0      Link encap:Ethernet  HWaddr 00:40:95:30:2E:A9
          inet addr:192.168.0.33  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:40546 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44516 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6747080 (6.4 Mb)  TX bytes:35389123 (33.7 Mb)
          Interrupt:10 Base address:0x2000

eth1      Link encap:Ethernet  HWaddr 00:C0:DF:F0:CE:4D
          inet addr:10.0.2.1  Bcast:10.0.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:33302 errors:0 dropped:0 overruns:0 frame:0
          TX packets:55907 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3214784 (3.0 Mb)  TX bytes:74368398 (70.9 Mb)
          Interrupt:11 Base address:0x6500

eth2      Link encap:Ethernet  HWaddr 00:60:4C:11:FD:20
          UP BROADCAST RUNNING MULTICAST  MTU:65535  Metric:1
          RX packets:53 errors:0 dropped:0 overruns:0 frame:0
          TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2492 (2.4 Kb)  TX bytes:2512 (2.4 Kb)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:5924 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5924 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:981873 (958.8 Kb)  TX bytes:981873 (958.8 Kb)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:82.84.64.225  P-t-P:213.205.16.53  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:31 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:2076 (2.0 Kb)  TX bytes:1537 (1.5 Kb)

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
213.205.16.53   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
10.0.2.0        0.0.0.0         255.255.255.0   U     0      0        0 eth1
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         213.205.16.53   0.0.0.0         UG    0      0        0 ppp0
# ping IP ?              [ OK ]
# test DNS resolution ?  [ OK ]
Complete diagnostic has been saved on /home/luca/eaglediag
Please keep only relevant data and remove personal informations.


Il y a 4 commentaires sur cette page. [Afficher commentaires/formulaire]