Newsgroup: it.comp.os.linux.iniziare
Titolo: ADSL pppoe + slack un po lungo

> $DEBUG
    $ECHO "* have defined a default route and gateway, and pppd will" >>
$DEBUG
    $ECHO "* not create a default route using your ISP.  Try getting" >>
$DEBUG
    $ECHO "* rid of this route." >> $DEBUG
    $ECHO "Output of netstat -n -r" >> $DEBUG
    netstat -n -r >> $DEBUG
    $ECHO "---------------------------------------------" >> $DEBUG
    $ECHO "Contents of /etc/resolv.conf" >> $DEBUG
    $ECHO "* The following section lists DNS setup." >> $DEBUG
    $ECHO "* If you can browse by IP address, but not name, suspect" >>
$DEBUG
    $ECHO "* a DNS problem." >> $DEBUG
    cat /etc/resolv.conf >> $DEBUG
    $ECHO "---------------------------------------------" >> $DEBUG
    $ECHO "* The following section lists /etc/ppp/options." >> $DEBUG
    $ECHO "* You should have NOTHING in that file." >> $DEBUG
    $ECHO "Contents of /etc/ppp/options" >> $DEBUG
    cat /etc/ppp/options >> $DEBUG 2>/dev/null
    $ECHO "---------------------------------------------" >> $DEBUG
else
    DEBUG=""
fi
# Sort out command-line arguments
case "$#" in
    1)
 CONFIG="$1"
 ;;
    3)
 CONFIG="$3"
 ;;
esac
if [ ! -f "$CONFIG" -o ! -r "$CONFIG" ] ; then
    $ECHO "$ME: Cannot read configuration file '$CONFIG'" >& 2
    exit 1
fi
. $CONFIG
# Check for command-line overriding of ETH and USER
case "$#" in
    2|3)
 ETH="$1"
 USER="$2"
 ;;
esac
# Check for pidfile
if [ -r "$PIDFILE" ] ; then
    PID=`cat "$PIDFILE"`
    # Check if still running
    kill -0 $PID > /dev/null 2>&1
    if [ $? = 0 ] ; then
 $ECHO "$ME: There already seems to be an ADSL connection up (PID $PID)" >&
2
 exit 1
    fi
    # Delete bogus PIDFILE
    rm -f "$PIDFILE" "$PIDFILE.pppd" "$PIDFILE.pppoe" "$PIDFILE.start"
fi
echo $$ > $PIDFILE.start
# Start the connection in the background unless we're debugging
if [ "$DEBUG" != "" ] ; then
    $CONNECT "$@"
    exit 0
fi
$CONNECT "$@" > /dev/null 2>&1 &
CONNECT_PID=$!
if [ "$CONNECT_TIMEOUT" = "" -o "$CONNECT_TIMEOUT" = 0 ] ; then
    exit 0
fi
# Don't monitor connection if dial-on-demand
if [ "$DEMAND" != "" -a "$DEMAND" != "no" ] ; then
    exit 0
fi
# Monitor connection
TIME=0
while [ true ] ; do
    ${exec_prefix}/sbin/adsl-status $CONFIG > /dev/null 2>&1
    # Looks like the interface came up
    if [ $? = 0 ] ; then
 # Print newline if standard input is a TTY
 tty -s && $ECHO " Connected!"
 exit 0
    fi
    if test -n "$FORCEPING" ; then
 $ECHO -n "$FORCEPING"
    else
 tty -s && $ECHO -n "$PING"
    fi
    sleep $CONNECT_POLL
    TIME=`expr $TIME + $CONNECT_POLL`
    if [ $TIME -gt $CONNECT_TIMEOUT ] ; then
 break
    fi
done
$ECHO "TIMED OUT" >& 2
# Timed out!  Kill the adsl-connect process and quit
kill $CONNECT_PID > /dev/null 2>&1
# Clean up PIDFILE(s)
rm -f "$PIDFILE" "$PIDFILE.pppd" "$PIDFILE.pppoe" "$PIDFILE.start"
exit 1

 # others.

Prova ad invertire i DNS!
DNS1=212.216.112.112
DNS2=212.216.172.62
-- 
Lidia

 Prova ad invertire i DNS!
Record mondiale di overquoting...
Gabry (non c'è mai fine...) :-)
-- 
Home Page:       
http://www-studenti.dm.unipi.it/~stilli/
mailto:
super...@libero.it
           ICQ UIN: 159169930
Caccole Stellari Website: 
http://www.caccolestellari.com/
Gruppo Utenti Linux Pisa: 
http://www.gulp.linux.it/

 
Mih!! ^^"" Non me n'ero accorta!! T__T!!
Scusate!!
-- 
Lidia

 /usr/sbin/adsl-start: line 191: 1024 Terminated
Leggi il DSL-Howto; controlla i log; vedi cosa passa con tcpdump.
Ciao
  Andrea
-- 
Sognatore e' un uomo coi piedi saldamente ancorati sulle nuvole

 /usr/sbin/adsl-start: line 191: 1024 Terminated
1) inverti i dsn
+
aspetta qualche giorno(oppure chiama il 187 e vedi 
se ti hanno già abilitato la linea adsl). ho avuto 
lo stesso identico problema e, per vedere se era colpa 
mia ho installato la adsl anche su win,prima a mano e non
andava ugualmente, poi mi sono deciso a mettere il loro
cd d'installazione e non andava ugualmente! però il
programma di diagnostica mi diceva che mancava il 
collegamento adsl. infatti chiamando il 187 (dopo gg al
telefono a sentire la vocetta demente) mi hanno detto
che non ero ancora abilitato. 
consiglio: NON INSTALLARE IL SW PER WIN!
ps.
qualcuno ha paragonato l'installazione su win e quella su
linux? sarà che mi sto illinuxendo (o illinuxando) ma l'ho trovata
lunga(mi ha installato 60mb di non so cosa), complicata(conflitti
tra prg che volevano riavviare il sistema e altri che dovevano 
continuare l'installazione) e OSCURA(non so assolutamente cosa
sia successo!). 
con linux ho collegato il router/modem, andato sulla sua pagina e 
ho messo il pppoe! mi è sembrato, non semplice, FACILE addirittura!
ciao
by uno che attende speranzoso l'attacco della adsl da 4gg :-(
-- 
By_Baitch
"Live Your Life!" (Ring ain't a jail)
http://utenti.tripod.it/baitch


letto letto ma non ne sono venuto a capo.
Ciao.


Ho l'abbonamento di 
tin.it
 non alice, loro non bloccano il modem :-))
Ciao

Help! Fresca l'insalata!

Questo non aggiunge nessuna informazione a quelle che ho gia': il log
non dice niente? e tcpdump?



Questo e quello che ottengo, ma non riesco a raccapezzarmici
tpcdump: listening on eth0
******
 Ultime righe di /var/log/messages
Dec  4 09:10:48 ignoto syslogd 1.4.1: restart.
Dec  4 09:10:49 ignoto kernel: klogd 1.4.1, log source = /proc/kmsg started.
Dec  4 09:10:49 ignoto kernel: BIOS-provided physical RAM map:
Dec  4 09:10:49 ignoto kernel: Initializing CPU#0
Dec  4 09:10:49 ignoto kernel: CPU: L1 I cache: 16K, L1 D cache: 16K
Dec  4 09:10:49 ignoto kernel: CPU: L2 cache: 512K
Dec  4 09:10:49 ignoto kernel: Intel machine check architecture supported.
Dec  4 09:10:49 ignoto kernel: Intel machine check reporting enabled on
CPU#0.
Dec  4 09:10:49 ignoto kernel: Checking 'hlt' instruction... OK.
Dec  4 09:10:49 ignoto kernel: Checking for popad bug... OK.
Dec  4 09:10:49 ignoto sshd[83]: Server listening on 0.0.0.0 port 22.
Dec  4 09:10:50 ignoto kernel: PCI: Using IRQ router PIIX [8086/7110] at
00:07.0
Dec  4 09:10:50 ignoto kernel: Limiting direct PCI/PCI transfers.
Dec  4 09:10:50 ignoto kernel: Linux NET4.0 for Linux 2.4
Dec  4 09:10:50 ignoto kernel: Based upon Swansea University Computer
Society NET3.039
Dec  4 09:10:50 ignoto kernel: VFS: Diskquotas version dquot_6.4.0
initialized
Dec  4 09:10:50 ignoto kernel: Journalled Block Device driver loaded
Dec  4 09:10:50 ignoto kernel: vesafb: framebuffer at 0xe4000000, mapped to
0xd280d000, size 4096k
Dec  4 09:10:50 ignoto kernel: vesafb: mode is 1024x768x8, linelength=1024,
pages=4
Dec  4 09:10:50 ignoto kernel: vesafb: protected mode interface info at
c000:58b3
Dec  4 09:10:50 ignoto kernel: vesafb: scrolling: redraw
Dec  4 09:10:50 ignoto kernel: fb0: VESA VGA frame buffer device
Dec  4 09:10:50 ignoto kernel: Serial driver version 5.05c (2001-07-08) with
HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
Dec  4 09:10:50 ignoto kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
Dec  4 09:10:50 ignoto kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A
Dec  4 09:10:50 ignoto kernel: Real Time Clock Driver v1.10e
Dec  4 09:10:50 ignoto kernel: Uniform Multi-Platform E-IDE driver Revision:
6.31
Dec  4 09:10:51 ignoto kernel: hda: 40132503 sectors (20548 MB) w/1818KiB
Cache, CHS=2498/255/63, UDMA(33)
Dec  4 09:10:51 ignoto kernel: Uniform CD-ROM driver Revision: 3.12
Dec  4 09:10:51 ignoto kernel: hdc: 123264kB, 963/8/32 CHS, 533 kBps, 512
sector size, 720 rpm
Dec  4 09:10:51 ignoto kernel: Partition check:
Dec  4 09:10:51 ignoto kernel:  hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 >
Dec  4 09:10:51 ignoto kernel: FDC 0 is a National Semiconductor PC87306
Dec  4 09:10:51 ignoto kernel: loop: loaded (max 8 devices)
Dec  4 09:10:51 ignoto kernel: SCSI subsystem driver Revision: 1.00
Dec  4 09:10:51 ignoto kernel: md: linear personality registered as nr 1
Dec  4 09:10:51 ignoto kernel: md: raid0 personality registered as nr 2
Dec  4 09:10:51 ignoto kernel: md: raid1 personality registered as nr 3
Dec  4 09:10:51 ignoto kernel: md: raid5 personality registered as nr 4
Dec  4 09:10:51 ignoto kernel: raid5: measuring checksumming speed
Dec  4 09:10:51 ignoto kernel: md: md driver 0.90.0 MAX_MD_DEVS=256,
MD_SB_DISKS=27
Dec  4 09:10:51 ignoto kernel: md: Autodetecting RAID arrays.
Dec  4 09:10:51 ignoto kernel: md: autorun ...
Dec  4 09:10:51 ignoto kernel: md: ... autorun DONE.
Dec  4 09:10:51 ignoto kernel: LVM version 1.0.1-rc4(ish)(03/10/2001)
Dec  4 09:10:51 ignoto kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Dec  4 09:10:51 ignoto kernel: IP Protocols: ICMP, UDP, TCP
Dec  4 09:10:52 ignoto kernel: NET4: Unix domain sockets 1.0/SMP for Linux
NET4.0.
Dec  4 09:10:52 ignoto kernel: kjournald starting.  Commit interval 5
seconds
Dec  4 09:10:52 ignoto kernel: EXT3-fs: mounted filesystem with ordered data
mode.
Dec  4 09:10:52 ignoto kernel: Adding Swap: 522072k swap-space (priority -1)
Dec  4 09:10:52 ignoto kernel: EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,8),
internal journal
Dec  4 09:10:52 ignoto kernel: apm: BIOS version 1.2 Flags 0x07 (Driver
version 1.16)
Dec  4 09:10:52 ignoto kernel: isapnp: Scanning for PnP cards...
Dec  4 09:10:52 ignoto kernel: isapnp: CMI8330 quirk - fixing interrupts and
dma
Dec  4 09:10:52 ignoto kernel: isapnp: Card 'CMI8330. Audio Adapter'
Dec  4 09:10:52 ignoto kernel: isapnp: 1 Plug & Play card detected total
Dec  4 09:10:52 ignoto kernel: Soundblaster audio driver Copyright (C) by
Hannu Savolainen 1993-1996
Dec  4 09:10:52 ignoto kernel: sb: CMI8330. Audio Adapter detected
Dec  4 09:10:52 ignoto kernel: sb: ISAPnP reports 'CMI8330. Audio Adapter'
at i/o 0x220, irq 7, dma 1, 5
Dec  4 09:10:52 ignoto kernel: SB 4.13 detected OK (220)
Dec  4 09:10:52 ignoto kernel: sb: 1 Soundblaster PnP card(s) found.
Dec  4 09:10:52 ignoto kernel: Creative EMU10K1 PCI Audio Driver, version
0.18, 00:45:28 May 31 2002
Dec  4 09:10:52 ignoto kernel: scsi0 : SCSI host adapter emulation for IDE
ATAPI devices
Dec  4 09:10:52 ignoto kernel: Linux PCMCIA Card Services 3.1.33
Dec  4 09:10:52 ignoto kernel:   kernel build: 2.4.18 #1 Wed May 8 13:51:37
PDT 2002
Dec  4 09:10:52 ignoto kernel:   options:  [pci] [cardbus]
Dec  4 09:10:52 ignoto kernel: Intel ISA/PCI/CardBus PCIC probe:
Dec  4 09:10:52 ignoto kernel:   no bridges found.
Dec  4 09:10:52 ignoto kernel: Databook TCIC-2 PCMCIA probe: not found.
Dec  4 09:10:52 ignoto kernel: ds: no socket drivers loaded!
Dec  4 09:10:52 ignoto kernel: 8139too Fast Ethernet driver 0.9.24
Dec  4 09:10:52 ignoto kernel: PCI: Found IRQ 10 for device 00:0a.0
Dec  4 09:10:52 ignoto kernel: eth0: RealTek RTL8139 Fast Ethernet at
0xd2c93000, 00:50:fc:86:2b:89, IRQ 10
Dec  4 09:10:52 ignoto kernel: eth0: Setting half-duplex based on
auto-negotiated partner ability 0000.
Dec  4 09:10:57 ignoto apmd[98]: Version 3.0.2 (APM BIOS 1.2, Linux driver
1.16)
Dec  4 09:10:57 ignoto apmd[98]: Charge: * * * (-1% unknown)
Dec  4 09:14:17 ignoto gnome-name-server[170]: starting
Dec  4 09:14:17 ignoto gnome-name-server[170]: name server starting
Dec  4 09:14:19 ignoto gconfd (ignoto-178): starting (version 1.0.9), pid
178 user 'ignoto'
Dec  4 09:17:59 ignoto kernel: CSLIP: code copyright 1989 Regents of the
University of California
Dec  4 09:17:59 ignoto kernel: PPP generic driver version 2.4.1
Dec  4 09:17:59 ignoto adsl-connect: ADSL connection lost; attempting
re-connection.
Dec  4 09:18:30 ignoto last message repeated 6 times
Dec  4 09:19:11 ignoto last message repeated 7 times
Dec  4 09:19:17 ignoto kernel: eth0: Promiscuous mode enabled.
Dec  4 09:19:17 ignoto kernel: device eth0 entered promiscuous mode
Dec  4 09:19:36 ignoto kernel: eth0: Promiscuous mode enabled.
Dec  4 09:19:37 ignoto adsl-connect: ADSL connection lost; attempting
re-connection.
Dec  4 09:20:07 ignoto last message repeated 6 times
Dec  4 09:30:48 ignoto -- MARK --
Dec  4 09:32:38 ignoto kernel: eth0: Promiscuous mode enabled.
Dec  4 09:32:38 ignoto adsl-connect: ADSL connection lost; attempting
re-connection.
Dec  4 09:33:09 ignoto last message repeated 6 times
Dec  4 09:33:22 ignoto kernel: eth0: Promiscuous mode enabled.
Dec  4 09:33:22 ignoto adsl-connect: ADSL connection lost; attempting
re-connection.
Dec  4 09:33:52 ignoto last message repeated 6 times
Dec  4 09:35:13 ignoto kernel: device eth0 left promiscuous mode
Dec  4 09:35:13 ignoto kernel: eth0: Promiscuous mode enabled.
Dec  4 09:35:13 ignoto kernel: device eth0 entered promiscuous mode
Dec  4 09:35:56 ignoto kernel: device eth0 left promiscuous mode
***********
 Ulime righe di /var/log/syslog
Dec  4 09:10:52 ignoto kernel: IP: routing cache hash table of 2048 buckets,
16Kbytes
Dec  4 09:10:52 ignoto kernel: TCP: Hash tables configured (established
32768 bind 32768)
Dec  4 09:10:52 ignoto kernel: VFS: Mounted root (ext3 filesystem) readonly.
Dec  4 09:10:52 ignoto kernel: Freeing unused kernel memory: 264k freed
Dec  4 09:10:57 ignoto lpd[90]: Get_local_host: hostname 'ignoto' bad
Dec  4 09:17:59 ignoto pppd[278]: pty option precludes specifying device
name
Dec  4 09:18:04 ignoto pppd[295]: pty option precludes specifying device
name
Dec  4 09:18:09 ignoto pppd[319]: pty option precludes specifying device
name
Dec  4 09:18:15 ignoto pppd[336]: pty option precludes specifying device
name
Dec  4 09:18:20 ignoto pppd[357]: pty option precludes specifying device
name
Dec  4 09:18:25 ignoto pppd[377]: pty option precludes specifying device
name
Dec  4 09:18:30 ignoto pppd[394]: pty option precludes specifying device
name
Dec  4 09:18:41 ignoto pppd[439]: pty option precludes specifying device
name
Dec  4 09:18:46 ignoto pppd[456]: pty option precludes specifying device
name
Dec  4 09:18:51 ignoto pppd[477]: pty option precludes specifying device
name
Dec  4 09:18:56 ignoto pppd[497]: pty option precludes specifying device
name
Dec  4 09:19:01 ignoto pppd[514]: pty option precludes specifying device
name
Dec  4 09:19:06 ignoto pppd[538]: pty option precludes specifying device
name
Dec  4 09:19:11 ignoto pppd[555]: pty option precludes specifying device
name
Dec  4 09:19:37 ignoto pppd[601]: pty option precludes specifying device
name
Dec  4 09:19:42 ignoto pppd[618]: pty option precludes specifying device
name
Dec  4 09:19:47 ignoto pppd[639]: pty option precludes specifying device
name
Dec  4 09:19:52 ignoto pppd[659]: pty option precludes specifying device
name
Dec  4 09:19:57 ignoto pppd[676]: pty option precludes specifying device
name
Dec  4 09:20:02 ignoto pppd[700]: pty option precludes specifying device
name
Dec  4 09:20:07 ignoto pppd[717]: pty option precludes specifying device
name
Dec  4 09:32:38 ignoto pppd[1506]: pty option precludes specifying device
name
Dec  4 09:32:43 ignoto pppd[1523]: pty option precludes specifying device
name
Dec  4 09:32:49 ignoto pppd[1542]: pty option precludes specifying device
name
Dec  4 09:32:54 ignoto pppd[1564]: pty option precludes specifying device
name
Dec  4 09:32:59 ignoto pppd[1581]: pty option precludes specifying device
name
Dec  4 09:33:04 ignoto pppd[1605]: pty option precludes specifying device
name
Dec  4 09:33:09 ignoto pppd[1623]: pty option precludes specifying device
name
Dec  4 09:33:22 ignoto pppd[1668]: pty option precludes specifying device
name
Dec  4 09:33:27 ignoto pppd[1686]: pty option precludes specifying device
name
Dec  4 09:33:32 ignoto pppd[1707]: pty option precludes specifying device
name
Dec  4 09:33:37 ignoto pppd[1730]: pty option precludes specifying device
name
Dec  4 09:33:42 ignoto pppd[1754]: pty option precludes specifying device
name
Dec  4 09:33:47 ignoto pppd[1784]: pty option precludes specifying device
name
Dec  4 09:33:52 ignoto pppd[1807]: pty option precludes specifying device
name