Moderatori: Anthony47, gunter, zendune
sudo modprobe ndiswrapper
sudo gedit /etc/modules
ndiswrapper
ifconfig -a
lancio quel comando dal terminale e sia senza sudo su, che con sudo su, nn mi trova niente dice che nn c'è, ho provato a rifare l'installazione dei driver con la primissima guida, e nn li ha + installati, perchè dal manager nn mi permetteva neanche di scegliere la connessione
francesco@francesco-desktop:~$ su - root
Password:
root@francesco-desktop:~# cd /root/alice_wifi
root@francesco-desktop:~/alice_wifi# ./alice_wifi_cp5.sh -install-driver dlink-dwlg132 profilo1
No LSB modules are available.
# Wifi Script Tool (WST) for Ubuntu Linux OS.
# By Domenico Spaziani. Ver. 1.24 rev. 22-07-2008 CP5
Using user profile profilo1
Checking packages..
done.
**ok. ndiswrapper is not loaded.
Stop wpa supplicant..
done.
**ok. ndiswrapper is not loaded.
Stop wpa supplicant..
done.
Checking for neta5agu uninstall driver.. Press Ctrl-C and reboot if command loop with no response.
***Driver neta5agu already installed. Try to remove..
**ok. ndiswrapper is not loaded.
Stop wpa supplicant..
done.
Checking for neta5agu uninstall driver.. Press Ctrl-C and reboot if command loop with no response.
installing from /root/alice_wifi/profiles/profilo1
installing neta5agu ...
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
Preparing template file. Press Ctrl-C if config file are already present in folder.
=> Provider (telecom, tiscali, other) [telecom]: telecom
=> pppoE username : nome utente proprio
=> pppoE password : password propria
=> Wlan device (only lower case character are allowed) [wlan0]:
arrivato qua, clicco su nuova tab da terminale, e lancio questo comando "ifconfig -a” per vedere se è wlan0 come dice la
guida
francesco@francesco-desktop:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:19:66:62:57:59
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:22 Base address:0xb800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:80 errors:0 dropped:0 overruns:0 frame:0
TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4000 (4.0 KB) TX bytes:4000 (4.0 KB)
pan0 Link encap:Ethernet HWaddr 7e:44:7d:1d:48:9b
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr 00:1b:11:0d:ad:aa
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
francesco@francesco-desktop:~$
ed è wlan0 quindi lascio invariato e schiaccio invio
continuo con la guida
=> Local ip to set [192.168.1.15]:
=> Gateway IP address [192.168.1.254]. Type 'none' to skip: none
=> ESSID to set () []:
ESSID nn mi trova niente, ciò vuol dire che nn riesco + a installare i driver, come faccio per rimuovere e rifare
l'installazione? riformattare e reinstallare ubuntu?
ora rimando ifconfig -a e vediamo se è cambiato qualche cosa
francesco@francesco-desktop:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:19:66:62:57:59
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:22 Base address:0xb800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:80 errors:0 dropped:0 overruns:0 frame:0
TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4000 (4.0 KB) TX bytes:4000 (4.0 KB)
pan0 Link encap:Ethernet HWaddr 7e:44:7d:1d:48:9b
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr 00:1b:11:0d:ad:aa
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
francesco@francesco-desktop:~$
nn penso sia cambiato niente
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
francesco@francesco-desktop:~$ sudo passwd root
[sudo] password for francesco:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
francesco@francesco-desktop:~$ su - root
Password:
root@francesco-desktop:~# cp /home/francesco/Scrivania/alice_wifi_CP5.tar.gz /root
root@francesco-desktop:~# tar zxvf alice_wifi_CP5.tar.gz
alice_wifi/
alice_wifi/driver/
alice_wifi/driver/broadcom/
alice_wifi/driver/broadcom/bcm43xx/
alice_wifi/driver/broadcom/bcm43xx/bcmwl5a.inf
alice_wifi/driver/broadcom/bcm43xx/bcmwl5.sys
alice_wifi/driver/dlink/
alice_wifi/driver/dlink/D-Link AirPlus G Utility(V1.00 Build 40628) with RaLink driver 1.0.0.0-98se(1.2)/
alice_wifi/driver/dlink/D-Link AirPlus G Utility(V1.00 Build 40628) with RaLink driver 1.0.0.0-98se(1.2)/Drivers/
alice_wifi/driver/dlink/D-Link AirPlus G Utility(V1.00 Build 40628) with RaLink driver 1.0.0.0-98se(1.2)/Drivers/WinXP2K/
alice_wifi/driver/dlink/D-Link AirPlus G Utility(V1.00 Build 40628) with RaLink driver 1.0.0.0-98se(1.2)/Drivers/WinXP2K/NetRTUSB.inf
alice_wifi/driver/dlink/D-Link AirPlus G Utility(V1.00 Build 40628) with RaLink driver 1.0.0.0-98se(1.2)/Drivers/WinXP2K/NetRTUSB.cat
alice_wifi/driver/dlink/D-Link AirPlus G Utility(V1.00 Build 40628) with RaLink driver 1.0.0.0-98se(1.2)/Drivers/WinXP2K/rt2500usb.sys
alice_wifi/driver/dlink/D-Link AirPlus G Utility(V1.00 Build 40628) with RaLink driver 1.0.0.0-98se(1.2)/Drivers/WinXP2K/rt25u98.sys
alice_wifi/driver/dlink/D-Link AirPlus G Utility (V2.11 Build 50317) for G510_G630 released(Driver 4.0.0.1414)-us/
alice_wifi/driver/dlink/D-Link AirPlus G Utility (V2.11 Build 50317) for G510_G630 released(Driver 4.0.0.1414)-us/Drivers/
alice_wifi/driver/dlink/D-Link AirPlus G Utility (V2.11 Build 50317) for G510_G630 released(Driver 4.0.0.1414)-us/Drivers/DWLInst.dll
alice_wifi/driver/dlink/D-Link AirPlus G Utility (V2.11 Build 50317) for G510_G630 released(Driver 4.0.0.1414)-us/Drivers/A3AB.sys
alice_wifi/driver/dlink/D-Link AirPlus G Utility (V2.11 Build 50317) for G510_G630 released(Driver 4.0.0.1414)-us/Drivers/A3AB.cat
alice_wifi/driver/dlink/D-Link AirPlus G Utility (V2.11 Build 50317) for G510_G630 released(Driver 4.0.0.1414)-us/Drivers/NetA3AB.inf
alice_wifi/driver/dlink/D-Link AirPlus G Utility (V2.11 Build 50317) for G520/
alice_wifi/driver/dlink/D-Link AirPlus G Utility (V2.11 Build 50317) for G520/Drivers/
alice_wifi/driver/dlink/D-Link AirPlus G Utility (V2.11 Build 50317) for G520/Drivers/net5211.inf
alice_wifi/driver/dlink/D-Link AirPlus G Utility (V2.11 Build 50317) for G520/Drivers/ar5211.sys
alice_wifi/driver/dlink/D-Link AirPlus G Utility (V2.11 Build 50317) for G520/Drivers/ar52119x.sys
alice_wifi/driver/dlink/D-Link AirPlus Xtreme G DWL-G132 Wireless USB Adapter(rev.A)/
alice_wifi/driver/dlink/D-Link AirPlus Xtreme G DWL-G132 Wireless USB Adapter(rev.A)/Driver/
alice_wifi/driver/dlink/D-Link AirPlus Xtreme G DWL-G132 Wireless USB Adapter(rev.A)/Driver/A5AGU9x.sys
alice_wifi/driver/dlink/D-Link AirPlus Xtreme G DWL-G132 Wireless USB Adapter(rev.A)/Driver/ar5523.bin
alice_wifi/driver/dlink/D-Link AirPlus Xtreme G DWL-G132 Wireless USB Adapter(rev.A)/Driver/netA5AGU.inf
alice_wifi/driver/dlink/D-Link AirPlus Xtreme G DWL-G132 Wireless USB Adapter(rev.A)/Driver/A5AGU.sys
alice_wifi/driver/dlink/D-Link AirPlus Xtreme G DWL-G132 Wireless USB Adapter(rev.A)/Driver/agux86.cat
alice_wifi/driver/dlink/D-Link AirPlus Xtreme G DWL-G132 Wireless USB Adapter(rev.A)/Driver/AGUx86.inf
alice_wifi/driver/dlink/D-Link AirPlus Xtreme G DWL-G132 Wireless USB Adapter(rev.A)/Driver/AGUx86.sys
alice_wifi/driver/dlink/D-Link AirPlus Xtreme G DWL-G132 Wireless USB Adapter(rev.A)/Driver/NetA5AGU.cat
alice_wifi/driver/trendnet/
alice_wifi/driver/trendnet/TEW-444UB_504UB_Vista/
alice_wifi/driver/trendnet/TEW-444UB_504UB_Vista/Vista32/
alice_wifi/driver/trendnet/TEW-444UB_504UB_Vista/Vista32/nettewusb.inf
alice_wifi/driver/trendnet/TEW-444UB_504UB_Vista/Vista32/TEWusb.sys
alice_wifi/pkg/
alice_wifi/pkg/ndiswrapper-common_1.43-1ubuntu2_all.deb
alice_wifi/pkg/ndiswrapper-utils-1.9_1.43-1ubuntu2_i386.deb
alice_wifi/pkg/pppoe_3.8-1.1_i386.deb
alice_wifi/pkg/tcl8.3_8.3.5-5_i386.deb
alice_wifi/pkg/tk8.3_8.3.5-6ubuntu2_i386.deb
alice_wifi/template/
alice_wifi/template/chap-secrets
alice_wifi/template/options
alice_wifi/template/pap-secrets
alice_wifi/template/pppoe.conf
alice_wifi/template/resolv.conf
alice_wifi/template/wpa_supplicant.conf.WPA
alice_wifi/template/wpa_supplicant.conf.WEP
alice_wifi/template/wpa_supplicant.conf.OPEN
alice_wifi/template/interfaces.GW
alice_wifi/template/resolv.conf.TISCALI
alice_wifi/template/resolv.conf.OTHER
alice_wifi/template/resolv.conf.TELECOM
alice_wifi/template/interfaces.NOGW
alice_wifi/template/interfaces.NOGW.save
alice_wifi/template/interfaces.GW.save
alice_wifi/alice_wifi_cp5.sh
alice_wifi/profiles/
alice_wifi/profiles/default/
alice_wifi/alice_wifi_cp5_service.sh
alice_wifi/menu/
alice_wifi/menu/icons/
alice_wifi/menu/icons/gnome-dev-wavelan.svg
alice_wifi/menu/template/
alice_wifi/menu/template/alice_wifi.desktop
alice_wifi/alice_wifi.sh
alice_wifi/service.sh
alice_wifi/ascii2hex.pl
root@francesco-desktop:~# cd /root/alice_wifi
root@francesco-desktop:~/alice_wifi# ./alice_wifi_cp5.sh -install-driver dlink-dwlg132 profilo1
No LSB modules are available.
# Wifi Script Tool (WST) for Ubuntu Linux OS.
# By Domenico Spaziani. Ver. 1.24 rev. 22-07-2008 CP5
**user profile profilo1 does not exist. Creating..
Using user profile profilo1
Checking packages..
**ndiswrapper not installed. Try to install..
**pppoe-start not installed. Try to install..
done.
**ok. ndiswrapper is not loaded.
Stop wpa supplicant..
done.
**ok. ndiswrapper is not loaded.
Stop wpa supplicant..
done.
Checking for neta5agu uninstall driver.. Press Ctrl-C and reboot if command loop with no response.
installing from /root/alice_wifi/profiles/profilo1
installing neta5agu ...
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
Preparing template file. Press Ctrl-C if config file are already present in folder.
=> Provider (telecom, tiscali, other) [telecom]: telecom
=> pppoE username : user personale
=> pppoE password : passowrd personale
=> Wlan device (only lower case character are allowed) [wlan0]: wlan0
***Interface wlan0 does not exist. Cannot check if you're entering a correct device..
=> Local ip to set [192.168.1.15]:
=> Gateway IP address [192.168.1.254]. Type 'none' to skip: none
=> ESSID to set () []:
francesco@francesco-desktop:~$ su - root
Password:
root@francesco-desktop:~# cd /root/alice_wifi
root@francesco-desktop:~/alice_wifi# ./alice_wifi_cp5.sh -install-driver dlink-dwlg132 profilo1
No LSB modules are available.
# Wifi Script Tool (WST) for Ubuntu Linux OS.
# By Domenico Spaziani. Ver. 1.24 rev. 22-07-2008 CP5
Using user profile profilo1
Checking packages..
done.
**ok. ndiswrapper is not loaded.
Stop wpa supplicant..
done.
**ok. ndiswrapper is not loaded.
Stop wpa supplicant..
done.
Checking for neta5agu uninstall driver.. Press Ctrl-C and reboot if command loop with no response.
***Driver neta5agu already installed. Try to remove..
**ok. ndiswrapper is not loaded.
Stop wpa supplicant..
done.
Checking for neta5agu uninstall driver.. Press Ctrl-C and reboot if command loop with no response.
installing from /root/alice_wifi/profiles/profilo1
installing neta5agu ...
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
frcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
Preparing template file. Press Ctrl-C if config file are already present in folder.
=> Provider (telecom, tiscali, other) [telecom]: telecom
=> pppoE username : user personale
=> pppoE password : password personale
=> Wlan device (only lower case character are allowed) [wlan0]:
=> Local ip to set [192.168.1.15]:
=> Gateway IP address [192.168.1.254]. Type 'none' to skip:
***Gateway IP address 192.168.1.254 unreachable.
=> Gateway IP address [192.168.1.254]. Type 'none' to skip: none
=> ESSID to set (Alice-79374462, FASTWEB-1-001CA2C8EA60, Alice-29995214, Alice-21667438, Alice-17461246, wlan-ap, Alice-45319006) [Alice-79374462]: Alice-29995214
=> Cipher WPA WEP NONE [WPA]: WPA
=> WPA-PSK key to set 24 chars [123456789012345678901234]: password WPA
Device: wlan0
Local IP Address: 192.168.1.15
PppoE Username: filippoconverso
PppoE Password: filipporosa
SSID: Alice-29995214
WPA-PSK Key (crypt): password criptata
WARNING: The WPA key above displayed represent the coded key of your WPA input value.
=> Dismiss these selections y or n ? [n]:
Creating config file from template..
root@francesco-desktop:~/alice_wifi# ./alice_wifi_cp5.sh -start dlink-dwlg132 profilo1
No LSB modules are available.
# Wifi Script Tool (WST) for Ubuntu Linux OS.
# By Domenico Spaziani. Ver. 1.24 rev. 22-07-2008 CP5
Using user profile profilo1
**wifi device not found or unplugged. Probably your WiFi card/usb, is not managed from this script
root@francesco-desktop:~/alice_wifi# ./alice_wifi_cp5.sh -start dlink-dwlg132 profilo1
No LSB modules are available.
# Wifi Script Tool (WST) for Ubuntu Linux OS.
# By Domenico Spaziani. Ver. 1.24 rev. 22-07-2008 CP5
Using user profile profilo1
**wifi device not found or unplugged. Probably your WiFi card/usb, is not managed from this script
root@francesco-desktop:~/alice_wifi# ./alice_wifi_cp5.sh -start dlink-dwlg132 profilo1
No LSB modules are available.
# Wifi Script Tool (WST) for Ubuntu Linux OS.
# By Domenico Spaziani. Ver. 1.24 rev. 22-07-2008 CP5
Using user profile profilo1
**wifi device not found or unplugged. Probably your WiFi card/usb, is not managed from this script
root@francesco-desktop:~/alice_wifi# ./alice_wifi_cp5.sh -start dlink-dwlg132 profilo1
No LSB modules are available.
# Wifi Script Tool (WST) for Ubuntu Linux OS.
# By Domenico Spaziani. Ver. 1.24 rev. 22-07-2008 CP5
Using user profile profilo1
**wifi device not found or unplugged. Probably your WiFi card/usb, is not managed from this script
root@francesco-desktop:~/alice_wifi# ./alice_wifi_cp5.sh -start dlink-dwlg132 profilo1
No LSB modules are available.
# Wifi Script Tool (WST) for Ubuntu Linux OS.
# By Domenico Spaziani. Ver. 1.24 rev. 22-07-2008 CP5
Using user profile profilo1
**wifi device not found or unplugged. Probably your WiFi card/usb, is not managed from this script
root@francesco-desktop:~/alice_wifi#
If you continue with this program, the configuration file /etc/ppp/peers/dsl-provider will be modified. Please make sure that you have a backup copy before saying Yes. Continue with configuration? clicco su yes
Most people using popular dialup providers prefer the options │
│ 'noauth' and 'defaultroute' in their configuration and remove │
│ the 'nodetach' option. Should I check your configuration file │
│ and change these settings where neccessary? clicco su yes
Please enter the username which you usually need for │
│ the PPP login to your provider in the input box below. │
│ If you wish to see the help screen, delete the │
│ username and press OK. scrivo lo user, tutto a stampatello minuscolo
Please enter the password which you usually need for │
│ the PPP login to your provider in the input box below. │
│ │
│ NOTE: you can see the password in plain text while │
│ typing. scrio la password sempre a stampatello minuscolo
You need at least one DNS IP address to resolve the │
│ normal host names. Normally your provider sends you │
│ addresses of useable servers when the connection is │
│ established. Would you like to add these addresses │
│ automatically to the list of nameservers in your local │
│ /etc/resolv.conf file? (recommended) clicco su YES
Many providers have routers that do not support TCP packets with │
│ a MSS higher than 1460. Usually, outgoing packets have this MSS │
│ when they go through one real Ethernet link with the default MTU │
│ size (1500). Unfortunately, if you are forwarding packets from │
│ other hosts (i.e. doing masquerading) the MSS may be increased │
│ depending on the packet size and the route to the client hosts, │
│ so your client machines won't be able to connect to some sites. │
│ There is a solution: the maximum MSS can be limited by pppoe. │
│ You can find more details about this issue in the pppoe │
│ documentation. │
│ │
│ Should pppoe clamp MSS at 1452 bytes? │
│ │
│ If unsure, say yes. │
│ │
│ (If you still get problems described above, try setting to 1412 clicco su YES
Your PPPD is configured now. Would you like to start │
│ the connection at boot time? clicco su NO
Now, you can make a DSL connection with "pon │
│ dsl-provider" and terminate it with "poff". Would you │
│ like to start the connection now? clicco ancora su YES
The DSL connection has been triggered. You can use the │
│ "plog" command to see the status or "ifconfig ppp0" │
│ for general interface info. clicco su ok
#
# /etc/sysctl.conf - Configuration file for setting system variables
# See /etc/sysctl.d/ for additional system variables.
# See sysctl.conf (5) for information.
#
#kernel.domainname = example.com
# Uncomment the following to stop low-level messages on console
#kernel.printk = 4 4 1 7
##############################################################3
# Functions previously found in netbase
#
# Uncomment the next two lines to enable Spoof protection (reverse-path filter)
# Turn on Source Address Verification in all interfaces to
# prevent some spoofing attacks
#net.ipv4.conf.default.rp_filter=1
#net.ipv4.conf.all.rp_filter=1
# Uncomment the next line to enable TCP/IP SYN cookies
# This disables TCP Window Scaling (http://lkml.org/lkml/2008/2/5/167),
# and is not recommended.
#net.ipv4.tcp_syncookies=1
# Uncomment the next line to enable packet forwarding for IPv4
#net.ipv4.ip_forward=1
# Uncomment the next line to enable packet forwarding for IPv6
#net.ipv6.conf.all.forwarding=1
###################################################################
# Additional settings - these settings can improve the network
# security of the host and prevent against some network attacks
# including spoofing attacks and man in the middle attacks through
# redirection. Some network environments, however, require that these
# settings are disabled so review and enable them as needed.
#
# Ignore ICMP broadcasts
#net.ipv4.icmp_echo_ignore_broadcasts = 1
#
# Ignore bogus ICMP errors
#net.ipv4.icmp_ignore_bogus_error_responses = 1
#
# Do not accept ICMP redirects (prevent MITM attacks)
#net.ipv4.conf.all.accept_redirects = 0
#net.ipv6.conf.all.accept_redirects = 0
# _or_
# Accept ICMP redirects only for gateways listed in our default
# gateway list (enabled by default)
# net.ipv4.conf.all.secure_redirects = 1
#
# Do not send ICMP redirects (we are not a router)
#net.ipv4.conf.all.send_redirects = 0
#
# Do not accept IP source route packets (we are not a router)
#net.ipv4.conf.all.accept_source_route = 0
#net.ipv6.conf.all.accept_source_route = 0
#
# Log Martian Packets
#net.ipv4.conf.all.log_martians = 1
#
# The contents of /proc/<pid>/maps and smaps files are only visible to
# readers that are allowed to ptrace() the process
# sys.kernel.maps_protect = 1
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_window_scaling = 0
net.ipv4.tcp_ecn= 0
francesco@francesco-desktop:~$ /etc/ppp/pppoe.conf
bash: /etc/ppp/pppoe.conf: No such file or directory
francesco@francesco-desktop:~$ sudo su
[sudo] password for francesco:
root@francesco-desktop:/home/francesco# /etc/ppp/pppoe.conf
bash: /etc/ppp/pppoe.conf: No such file or directory
root@francesco-desktop:/home/francesco# su - root
root@francesco-desktop:~# /etc/ppp/pppoe.conf
-su: /etc/ppp/pppoe.conf: No such file or directory
root@francesco-desktop:~#
#!/bin/sh
PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
export PATH
modprobe -q pppoe
exec pppd call dsl-provider
francesco@francesco-desktop:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:19:66:62:57:59
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:22 Base address:0xb800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:248 errors:0 dropped:0 overruns:0 frame:0
TX packets:248 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15724 (15.7 KB) TX bytes:15724 (15.7 KB)
pan0 Link encap:Ethernet HWaddr 6e:57:54:74:ed:e6
inet6 addr: fe80::6c57:54ff:fe74:ede6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:708 (708.0 B)
wlan0 Link encap:Ethernet HWaddr 00:1b:11:0d:ad:aa
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21b:11ff:fe0d:adaa/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:516 errors:0 dropped:0 overruns:0 frame:0
TX packets:520 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:110648 (110.6 KB) TX bytes:51558 (51.5 KB)
francesco@francesco-desktop:~$
Visitano il forum: Nessuno e 8 ospiti