Se connecter à FreeWifi

classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

Se connecter à FreeWifi

Hyjial Irldar
Bonjour !

Je n'arrive pas à me connecter à FreeWifi, le réseau de hotspots du
FAI français Free. Plus précisément, personne ne répond à mes requêtes
DHCP :

# ifconfig iwn0 nwid FreeWifi
# dhclient iwn0
** et là, des DHCPDISCOVER qui n'aboutissent à rien **

Pour rappel, le réseau FreeWifi est complètement ouvert et
l'authentification se fait une fois une adresse IP récupérée via une
page WEB.

Un scan me donne les infos suivantes :

# ifconfig iwn0 scan
iwn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:21:5d:0e:2e:5e
        priority: 4
        groups: wlan
        media: IEEE802.11 autoselect (DS1)
        status: no network
        ieee80211: nwid FreeWifi
                nwid "SFR WiFi Public" chan 11 bssid 00:17:33:f2:da:2e 169dB 54M
short_slottime
                nwid NEUF_474C chan 11 bssid 00:25:15:9f:47:50 173dB 54M
privacy,short_slottime
                nwid "SFR WiFi Public" chan 11 bssid 02:25:15:9f:47:51 173dB 54M
short_slottime
                nwid wifi_gtgt chan 11 bssid 26:f8:5c:ec:bc:a4 183dB 54M
privacy,short_slottime
                nwid "" chan 11 bssid 26:f8:5c:ec:bc:a5 182dB 54M privacy,short_slottime
                nwid "" chan 11 bssid 26:f8:5c:ec:bc:a6 182dB 54M privacy,short_slottime
                nwid freephonie chan 11 bssid 26:f8:5c:ec:bc:a7 182dB 54M
privacy,short_slottime
                nwid FreeWifi chan 1 bssid 46:33:51:34:12:22 175dB 54M short_slottime
                nwid freephonie chan 1 bssid 46:33:51:34:12:23 175dB 54M
privacy,short_slottime
                nwid freebox_Maison chan 13 bssid 46:e1:f8:71:ea:ac 170dB 54M
privacy,short_slottime
                nwid "" chan 13 bssid 46:e1:f8:71:ea:ad 176dB 54M privacy,short_slottime
                nwid FreeWifi chan 13 bssid 46:e1:f8:71:ea:ae 175dB 54M short_slottime
                nwid freephonie chan 13 bssid 46:e1:f8:71:ea:af 177dB 54M
privacy,short_slottime
                nwid vanessam chan 1 bssid 86:89:54:e9:80:7c 171dB 54M privacy,short_slottime
                nwid FreeWifi chan 1 bssid 86:89:54:e9:80:7e 171dB 54M short_slottime
                nwid freephonie chan 1 bssid 86:89:54:e9:80:7f 171dB 54M
privacy,short_slottime
                nwid "" chan 8 bssid 8a:4a:24:0b:a5:90 185dB 54M privacy,short_slottime
                nwid "" chan 8 bssid 8a:4a:24:0b:a5:91 185dB 54M privacy,short_slottime
                nwid FreeWifi chan 8 bssid 8a:4a:24:0b:a5:92 184dB 54M short_slottime
                nwid freephonie chan 8 bssid 8a:4a:24:0b:a5:93 184dB 54M
privacy,short_slottime
                nwid freeboxFranck chan 11 bssid c6:0b:2f:41:d2:14 172dB 54M
privacy,short_slottime
                nwid "" chan 11 bssid c6:0b:2f:41:d2:15 172dB 54M privacy,short_slottime
                nwid FreeWifi chan 11 bssid c6:0b:2f:41:d2:16 172dB 54M short_slottime
                nwid "" chan 1 bssid f6:19:8c:15:bb:3d 173dB 54M privacy,short_slottime
                nwid FreeWifi chan 1 bssid f6:19:8c:15:bb:3e 173dB 54M short_slottime

Pourtant, je parviens à me connecter sans souci en wifi en WPA (sur
une FreeBox) et via le même système d'authentification par une page
WEB sur le réseau du campus. Je parviens aussi à me connecter au
FreeWifi avec Windows et on m'a assuré l'avoir testé sur Ubuntu. J'ai
le même problème sur deux PC différents dont j'ai mis les dmesg à la
suite.

Quelqu'un a-t-il déjà eu un souci similaire, ou la solution est-elle
évidente à qui connaît mieux que moi le fonctionnement du wifi ?

Merci d'avance.

Alexis.

dmesg PC 1 :
###
OpenBSD 4.8-current (GENERIC.MP) #591: Tue Oct 19 11:45:02 MDT 2010
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3219652608 (3070MB)
avail mem = 3120087040 (2975MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xfcc40 (35 entries)
bios0: vendor American Megatrends Inc. version "210.000" date 09/04/2008
bios0: ASUSTeK Computer Inc. M51Va
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG SLIC ECDT DBGP BOOT OEMB HPET SSDT
acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB5(S3) EUSB(S3)
USB3(S3) USB4(S3) USB6(S3) USBE(S3) HDAC(S3) P0P1(S4) P0P2(S3)
P0P3(S3) P0P4(S3) P0P6(S3) P0P7(S3) WLAN(S3) P0P8(S3) GLAN(S3)
P0P9(S3) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU T9400 @ 2.53GHz, 2527.37 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG
cpu0: 6MB 64b/line 16-way L2 cache
cpu0: apic clock running at 265MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T9400 @ 2.53GHz, 2527.00 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG
cpu1: 6MB 64b/line 16-way L2 cache
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpiec0 at acpi0
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus 2 (P0P2)
acpiprt3 at acpi0: bus -1 (P0P3)
acpiprt4 at acpi0: bus 3 (P0P4)
acpiprt5 at acpi0: bus 5 (P0P6)
acpiprt6 at acpi0: bus 6 (P0P7)
acpiprt7 at acpi0: bus 7 (P0P8)
acpiprt8 at acpi0: bus 8 (P0P9)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpitz0 at acpi0: critical temperature 110 degC
acpiac0 at acpi0: AC unit offline
acpibat0 at acpi0: BAT0
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: LID_
acpivideo0 at acpi0: VGA_
acpivout0 at acpivideo0: CRTD
acpivout1 at acpivideo0: DVID
acpivout2 at acpivideo0: LCDD
cpu0: Enhanced SpeedStep 2527 MHz: speeds: 2534, 2533, 1600, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
ppb0 at pci0 dev 1 function 0 "Intel GM45 PCIE" rev 0x07: apic 2 int 16 (irq 10)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Mobility Radeon HD 3650" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 2 int 16 (irq 10)
drm0 at radeondrm0
azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 3600 HD Audio" rev
0x00: apic 2 int 17 (irq 3)
azalia0: no supported codecs
azalia0: initialization failure, detaching
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 2
int 16 (irq 10)
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 2
int 21 (irq 7)
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 2
int 19 (irq 5)
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 2
int 18 (irq 6)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia1 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03:
apic 2 int 22 (irq 4)
azalia1: codecs: Realtek ALC663, Motorola/0x3055, using Realtek ALC663
audio0 at azalia1
ppb1 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: apic 2
int 16 (irq 10)
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 2 "Intel 82801I PCIE" rev 0x03: apic 2
int 18 (irq 6)
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 3 "Intel 82801I PCIE" rev 0x03: apic 2
int 19 (irq 5)
pci4 at ppb3 bus 5
ppb4 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x03
pci5 at ppb4 bus 6
iwn0 at pci5 dev 0 function 0 "Intel WiFi Link 5100" rev 0x00: apic 2
int 16 (irq 10), MIMO 1T2R, MoW, address 00:21:5d:0e:2e:5e
ppb5 at pci0 dev 28 function 5 "Intel 82801I PCIE" rev 0x03: apic 2
int 17 (irq 3)
pci6 at ppb5 bus 7
re0 at pci6 dev 0 function 0 "Realtek 8168" rev 0x02: RTL8168C/8111C
(0x3c00), apic 2 int 17 (irq 3), address 00:23:54:10:53:de
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 2
int 23 (irq 10)
uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 2
int 19 (irq 5)
uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: apic 2
int 18 (irq 6)
ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: apic 2
int 23 (irq 10)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb6 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x93
pci7 at ppb6 bus 8
"Ricoh 5C832 Firewire" rev 0x05 at pci7 dev 1 function 0 not configured
sdhc0 at pci7 dev 1 function 1 "Ricoh 5C822 SD/MMC" rev 0x22: apic 2
int 17 (irq 3)
sdmmc0 at sdhc0
"Ricoh 5C843 MMC" rev 0x12 at pci7 dev 1 function 2 not configured
"Ricoh 5C592 Memory Stick" rev 0x12 at pci7 dev 1 function 3 not configured
"Ricoh 5C852 xD" rev 0x12 at pci7 dev 1 function 4 not configured
pcib0 at pci0 dev 31 function 0 "Intel 82801IBM LPC" rev 0x03
ahci0 at pci0 dev 31 function 2 "Intel 82801I AHCI" rev 0x03: apic 2
int 19 (irq 5), AHCI 1.2
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, ST9320320AS, 0303> SCSI3 0/direct fixed
sd0: 305245MB, 512 bytes/sec, 625142448 sec total
cd0 at scsibus0 targ 1 lun 0: <TSSTcorp, CDDVDW TS-L633A, AS00> ATAPI
5/cdrom removable
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb7 at uhci5: USB revision 1.0
uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
mtrr: Pentium Pro MTRR support
uvideo0 at uhub1 port 5 configuration 1 interface 0 "Sonix Technology
Co., Ltd. USB 2.0 Camera" rev 2.00/11.12 addr 2
video0 at uvideo0
ubt0 at uhub4 port 1 "ASUS product 0x1751" rev 2.00/2.35 addr 2
ubt0: failed to set configuration idx 0: STALLED
ugen0 at uhub4 port 2 "AuthenTec Fingerprint Sensor" rev 1.10/c.10 addr 3
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
ubt0 detached
umass0 at uhub1 port 4 configuration 1 interface 0 "I0MEGA
Mini128MB*IOM2I6" rev 2.00/0.71 addr 3
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd1 at scsibus2 targ 1 lun 0: <I0MEGA, Mini128MB*IOM2I6, 2.00> SCSI0
0/direct removable
sd1: 123MB, 512 bytes/sec, 252416 sec total
###

dmesg PC 2
###
OpenBSD 4.8-current (GENERIC.MP) #629: Sun Nov 14 13:21:10 MST 2010
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2003517440 (1910MB)
avail mem = 1936269312 (1846MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe0010 (44 entries)
bios0: vendor LENOVO version "6YET29WW (1.12 )" date 03/05/2010
bios0: LENOVO 01965NG
acpi0 at bios0: rev 4
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET MCFG APIC BOOT SLIC SSDT SSDT SSDT
acpi0: wakeup devices P0P2(S4) P0P1(S4) USB0(S3) USB1(S3) USB2(S3)
USBR(S3) EHC1(S3) USB3(S3) USB4(S3) EHC2(S3) HDEF(S4) PXSX(S4)
RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4)
PXSX(S4) RP05(S4) RP06(S4) BLAN(S4) LID_(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Genuine Intel(R) CPU U7300 @ 1.30GHz, 1296.94 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG
cpu0: 3MB 64b/line 8-way L2 cache
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU U7300 @ 1.30GHz, 1296.75 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG
cpu1: 3MB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P2)
acpiprt2 at acpi0: bus 5 (P0P1)
acpiprt3 at acpi0: bus 2 (RP01)
acpiprt4 at acpi0: bus 3 (RP02)
acpiprt5 at acpi0: bus -1 (RP03)
acpiprt6 at acpi0: bus -1 (RP04)
acpiprt7 at acpi0: bus -1 (RP05)
acpiprt8 at acpi0: bus 4 (RP06)
acpiec0 at acpi0
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpitz0 at acpi0: critical temperature 100 degC
acpithinkpad0 at acpi0
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 model "42T4815" serial  6634 type LION oem "LGC 11"
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PWRB
cpu0: Enhanced SpeedStep 1296 MHz: speeds: 1300, 1200, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
inteldrm0 at vga1: apic 2 int 16 (irq 10)
drm0 at inteldrm0
"Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 2
int 16 (irq 10)
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 2
int 21 (irq 10)
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 2
int 19 (irq 10)
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 2
int 19 (irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03:
apic 2 int 22 (irq 10)
azalia0: codecs: Conexant/0x5066, Intel/0x2802, using Conexant/0x5066
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: apic 2
int 17 (irq 11)
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: apic 2
int 16 (irq 10)
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 "Intel WiFi Link 1000" rev 0x00: apic 2
int 17 (irq 11), MIMO 1T2R, BGS, address 00:26:c7:52:b1:02
ppb2 at pci0 dev 28 function 5 "Intel 82801I PCIE" rev 0x03: apic 2
int 16 (irq 10)
pci3 at ppb2 bus 4
re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D
(0x2800), apic 2 int 17 (irq 11), address c8:0a:a9:bf:42:01
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 2
int 23 (irq 10)
uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 2
int 19 (irq 10)
uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: apic 2
int 18 (irq 10)
ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: apic 2
int 23 (irq 10)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x93
pci4 at ppb3 bus 5
pcib0 at pci0 dev 31 function 0 "Intel 82801IEM LPC" rev 0x03
ahci0 at pci0 dev 31 function 2 "Intel 82801I AHCI" rev 0x03: apic 2
int 19 (irq 10), AHCI 1.2
ahci0: PHY offline on port 1
ahci0: PHY offline on port 4
ahci0: PHY offline on port 5
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, ST9250315AS, 0020> SCSI3 0/direct fixed
sd0: 238475MB, 512 bytes/sec, 488397168 sec total
ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x03: apic
2 int 19 (irq 10)
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-8500 SO-DIMM
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb7 at uhci5: USB revision 1.0
uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
umass0 at uhub1 port 2 configuration 1 interface 0 "I0MEGA
Mini128MB*IOM2I6" rev 2.00/0.71 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd1 at scsibus2 targ 1 lun 0: <I0MEGA, Mini128MB*IOM2I6, 2.00> SCSI0
0/direct removable
sd1: 123MB, 512 bytes/sec, 252416 sec total
###

________________________________
French OpenBSD mailing list
[hidden email]
http://www.openbsd-france.org/communaute.php

Reply | Threaded
Open this post in threaded view
|

Re: Se connecter à FreeWifi

Antoine Jacoutot-7
On Wed, 22 Dec 2010, hyjial wrote:

> Bonjour !
>
> Je n'arrive pas à me connecter à FreeWifi, le réseau de hotspots du
> FAI français Free. Plus précisément, personne ne répond à mes requêtes
> DHCP :
>
> # ifconfig iwn0 nwid FreeWifi
> # dhclient iwn0
> ** et là, des DHCPDISCOVER qui n'aboutissent à rien **
>
> Pour rappel, le réseau FreeWifi est complètement ouvert et
> l'authentification se fait une fois une adresse IP récupérée via une
> page WEB.
>
> Un scan me donne les infos suivantes :

Moi c'est pareil. Utilises isc-dhcp-client à la place.



>
> # ifconfig iwn0 scan
> iwn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> lladdr 00:21:5d:0e:2e:5e
> priority: 4
> groups: wlan
> media: IEEE802.11 autoselect (DS1)
> status: no network
> ieee80211: nwid FreeWifi
> nwid "SFR WiFi Public" chan 11 bssid 00:17:33:f2:da:2e 169dB 54M
> short_slottime
> nwid NEUF_474C chan 11 bssid 00:25:15:9f:47:50 173dB 54M
> privacy,short_slottime
> nwid "SFR WiFi Public" chan 11 bssid 02:25:15:9f:47:51 173dB 54M
> short_slottime
> nwid wifi_gtgt chan 11 bssid 26:f8:5c:ec:bc:a4 183dB 54M
> privacy,short_slottime
> nwid "" chan 11 bssid 26:f8:5c:ec:bc:a5 182dB 54M privacy,short_slottime
> nwid "" chan 11 bssid 26:f8:5c:ec:bc:a6 182dB 54M privacy,short_slottime
> nwid freephonie chan 11 bssid 26:f8:5c:ec:bc:a7 182dB 54M
> privacy,short_slottime
> nwid FreeWifi chan 1 bssid 46:33:51:34:12:22 175dB 54M short_slottime
> nwid freephonie chan 1 bssid 46:33:51:34:12:23 175dB 54M
> privacy,short_slottime
> nwid freebox_Maison chan 13 bssid 46:e1:f8:71:ea:ac 170dB 54M
> privacy,short_slottime
> nwid "" chan 13 bssid 46:e1:f8:71:ea:ad 176dB 54M privacy,short_slottime
> nwid FreeWifi chan 13 bssid 46:e1:f8:71:ea:ae 175dB 54M short_slottime
> nwid freephonie chan 13 bssid 46:e1:f8:71:ea:af 177dB 54M
> privacy,short_slottime
> nwid vanessam chan 1 bssid 86:89:54:e9:80:7c 171dB 54M privacy,short_slottime
> nwid FreeWifi chan 1 bssid 86:89:54:e9:80:7e 171dB 54M short_slottime
> nwid freephonie chan 1 bssid 86:89:54:e9:80:7f 171dB 54M
> privacy,short_slottime
> nwid "" chan 8 bssid 8a:4a:24:0b:a5:90 185dB 54M privacy,short_slottime
> nwid "" chan 8 bssid 8a:4a:24:0b:a5:91 185dB 54M privacy,short_slottime
> nwid FreeWifi chan 8 bssid 8a:4a:24:0b:a5:92 184dB 54M short_slottime
> nwid freephonie chan 8 bssid 8a:4a:24:0b:a5:93 184dB 54M
> privacy,short_slottime
> nwid freeboxFranck chan 11 bssid c6:0b:2f:41:d2:14 172dB 54M
> privacy,short_slottime
> nwid "" chan 11 bssid c6:0b:2f:41:d2:15 172dB 54M privacy,short_slottime
> nwid FreeWifi chan 11 bssid c6:0b:2f:41:d2:16 172dB 54M short_slottime
> nwid "" chan 1 bssid f6:19:8c:15:bb:3d 173dB 54M privacy,short_slottime
> nwid FreeWifi chan 1 bssid f6:19:8c:15:bb:3e 173dB 54M short_slottime
>
> Pourtant, je parviens à me connecter sans souci en wifi en WPA (sur
> une FreeBox) et via le même système d'authentification par une page
> WEB sur le réseau du campus. Je parviens aussi à me connecter au
> FreeWifi avec Windows et on m'a assuré l'avoir testé sur Ubuntu. J'ai
> le même problème sur deux PC différents dont j'ai mis les dmesg à la
> suite.
>
> Quelqu'un a-t-il déjà eu un souci similaire, ou la solution est-elle
> évidente à qui connaît mieux que moi le fonctionnement du wifi ?
>
> Merci d'avance.
>
> Alexis.
>
> dmesg PC 1 :
> ###
> OpenBSD 4.8-current (GENERIC.MP) #591: Tue Oct 19 11:45:02 MDT 2010
>     [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 3219652608 (3070MB)
> avail mem = 3120087040 (2975MB)
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xfcc40 (35 entries)
> bios0: vendor American Megatrends Inc. version "210.000" date 09/04/2008
> bios0: ASUSTeK Computer Inc. M51Va
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP APIC MCFG SLIC ECDT DBGP BOOT OEMB HPET SSDT
> acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB5(S3) EUSB(S3)
> USB3(S3) USB4(S3) USB6(S3) USBE(S3) HDAC(S3) P0P1(S4) P0P2(S3)
> P0P3(S3) P0P4(S3) P0P6(S3) P0P7(S3) WLAN(S3) P0P8(S3) GLAN(S3)
> P0P9(S3) SLPB(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM)2 Duo CPU T9400 @ 2.53GHz, 2527.37 MHz
> cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG
> cpu0: 6MB 64b/line 16-way L2 cache
> cpu0: apic clock running at 265MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM)2 Duo CPU T9400 @ 2.53GHz, 2527.00 MHz
> cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG
> cpu1: 6MB 64b/line 16-way L2 cache
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> acpiec0 at acpi0
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 1 (P0P1)
> acpiprt2 at acpi0: bus 2 (P0P2)
> acpiprt3 at acpi0: bus -1 (P0P3)
> acpiprt4 at acpi0: bus 3 (P0P4)
> acpiprt5 at acpi0: bus 5 (P0P6)
> acpiprt6 at acpi0: bus 6 (P0P7)
> acpiprt7 at acpi0: bus 7 (P0P8)
> acpiprt8 at acpi0: bus 8 (P0P9)
> acpicpu0 at acpi0: C3, C2, C1, PSS
> acpicpu1 at acpi0: C3, C2, C1, PSS
> acpitz0 at acpi0: critical temperature 110 degC
> acpiac0 at acpi0: AC unit offline
> acpibat0 at acpi0: BAT0
> acpibtn0 at acpi0: SLPB
> acpibtn1 at acpi0: LID_
> acpivideo0 at acpi0: VGA_
> acpivout0 at acpivideo0: CRTD
> acpivout1 at acpivideo0: DVID
> acpivout2 at acpivideo0: LCDD
> cpu0: Enhanced SpeedStep 2527 MHz: speeds: 2534, 2533, 1600, 800 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
> ppb0 at pci0 dev 1 function 0 "Intel GM45 PCIE" rev 0x07: apic 2 int 16 (irq 10)
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "ATI Mobility Radeon HD 3650" rev 0x00
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> radeondrm0 at vga1: apic 2 int 16 (irq 10)
> drm0 at radeondrm0
> azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 3600 HD Audio" rev
> 0x00: apic 2 int 17 (irq 3)
> azalia0: no supported codecs
> azalia0: initialization failure, detaching
> uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 2
> int 16 (irq 10)
> uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 2
> int 21 (irq 7)
> uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 2
> int 19 (irq 5)
> ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 2
> int 18 (irq 6)
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> azalia1 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03:
> apic 2 int 22 (irq 4)
> azalia1: codecs: Realtek ALC663, Motorola/0x3055, using Realtek ALC663
> audio0 at azalia1
> ppb1 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: apic 2
> int 16 (irq 10)
> pci2 at ppb1 bus 2
> ppb2 at pci0 dev 28 function 2 "Intel 82801I PCIE" rev 0x03: apic 2
> int 18 (irq 6)
> pci3 at ppb2 bus 3
> ppb3 at pci0 dev 28 function 3 "Intel 82801I PCIE" rev 0x03: apic 2
> int 19 (irq 5)
> pci4 at ppb3 bus 5
> ppb4 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x03
> pci5 at ppb4 bus 6
> iwn0 at pci5 dev 0 function 0 "Intel WiFi Link 5100" rev 0x00: apic 2
> int 16 (irq 10), MIMO 1T2R, MoW, address 00:21:5d:0e:2e:5e
> ppb5 at pci0 dev 28 function 5 "Intel 82801I PCIE" rev 0x03: apic 2
> int 17 (irq 3)
> pci6 at ppb5 bus 7
> re0 at pci6 dev 0 function 0 "Realtek 8168" rev 0x02: RTL8168C/8111C
> (0x3c00), apic 2 int 17 (irq 3), address 00:23:54:10:53:de
> rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
> uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 2
> int 23 (irq 10)
> uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 2
> int 19 (irq 5)
> uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: apic 2
> int 18 (irq 6)
> ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: apic 2
> int 23 (irq 10)
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb6 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x93
> pci7 at ppb6 bus 8
> "Ricoh 5C832 Firewire" rev 0x05 at pci7 dev 1 function 0 not configured
> sdhc0 at pci7 dev 1 function 1 "Ricoh 5C822 SD/MMC" rev 0x22: apic 2
> int 17 (irq 3)
> sdmmc0 at sdhc0
> "Ricoh 5C843 MMC" rev 0x12 at pci7 dev 1 function 2 not configured
> "Ricoh 5C592 Memory Stick" rev 0x12 at pci7 dev 1 function 3 not configured
> "Ricoh 5C852 xD" rev 0x12 at pci7 dev 1 function 4 not configured
> pcib0 at pci0 dev 31 function 0 "Intel 82801IBM LPC" rev 0x03
> ahci0 at pci0 dev 31 function 2 "Intel 82801I AHCI" rev 0x03: apic 2
> int 19 (irq 5), AHCI 1.2
> scsibus0 at ahci0: 32 targets
> sd0 at scsibus0 targ 0 lun 0: <ATA, ST9320320AS, 0303> SCSI3 0/direct fixed
> sd0: 305245MB, 512 bytes/sec, 625142448 sec total
> cd0 at scsibus0 targ 1 lun 0: <TSSTcorp, CDDVDW TS-L633A, AS00> ATAPI
> 5/cdrom removable
> usb2 at uhci0: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci1: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb4 at uhci2: USB revision 1.0
> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb5 at uhci3: USB revision 1.0
> uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb6 at uhci4: USB revision 1.0
> uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb7 at uhci5: USB revision 1.0
> uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> mtrr: Pentium Pro MTRR support
> uvideo0 at uhub1 port 5 configuration 1 interface 0 "Sonix Technology
> Co., Ltd. USB 2.0 Camera" rev 2.00/11.12 addr 2
> video0 at uvideo0
> ubt0 at uhub4 port 1 "ASUS product 0x1751" rev 2.00/2.35 addr 2
> ubt0: failed to set configuration idx 0: STALLED
> ugen0 at uhub4 port 2 "AuthenTec Fingerprint Sensor" rev 1.10/c.10 addr 3
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> root on sd0a swap on sd0b dump on sd0b
> ubt0 detached
> umass0 at uhub1 port 4 configuration 1 interface 0 "I0MEGA
> Mini128MB*IOM2I6" rev 2.00/0.71 addr 3
> umass0: using SCSI over Bulk-Only
> scsibus2 at umass0: 2 targets, initiator 0
> sd1 at scsibus2 targ 1 lun 0: <I0MEGA, Mini128MB*IOM2I6, 2.00> SCSI0
> 0/direct removable
> sd1: 123MB, 512 bytes/sec, 252416 sec total
> ###
>
> dmesg PC 2
> ###
> OpenBSD 4.8-current (GENERIC.MP) #629: Sun Nov 14 13:21:10 MST 2010
>     [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 2003517440 (1910MB)
> avail mem = 1936269312 (1846MB)
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe0010 (44 entries)
> bios0: vendor LENOVO version "6YET29WW (1.12 )" date 03/05/2010
> bios0: LENOVO 01965NG
> acpi0 at bios0: rev 4
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP HPET MCFG APIC BOOT SLIC SSDT SSDT SSDT
> acpi0: wakeup devices P0P2(S4) P0P1(S4) USB0(S3) USB1(S3) USB2(S3)
> USBR(S3) EHC1(S3) USB3(S3) USB4(S3) EHC2(S3) HDEF(S4) PXSX(S4)
> RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4)
> PXSX(S4) RP05(S4) RP06(S4) BLAN(S4) LID_(S3)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 14318179 Hz
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Genuine Intel(R) CPU U7300 @ 1.30GHz, 1296.94 MHz
> cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG
> cpu0: 3MB 64b/line 8-way L2 cache
> cpu0: apic clock running at 199MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Genuine Intel(R) CPU U7300 @ 1.30GHz, 1296.75 MHz
> cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG
> cpu1: 3MB 64b/line 8-way L2 cache
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (P0P2)
> acpiprt2 at acpi0: bus 5 (P0P1)
> acpiprt3 at acpi0: bus 2 (RP01)
> acpiprt4 at acpi0: bus 3 (RP02)
> acpiprt5 at acpi0: bus -1 (RP03)
> acpiprt6 at acpi0: bus -1 (RP04)
> acpiprt7 at acpi0: bus -1 (RP05)
> acpiprt8 at acpi0: bus 4 (RP06)
> acpiec0 at acpi0
> acpicpu0 at acpi0: C2, C1, PSS
> acpicpu1 at acpi0: C2, C1, PSS
> acpitz0 at acpi0: critical temperature 100 degC
> acpithinkpad0 at acpi0
> acpiac0 at acpi0: AC unit online
> acpibat0 at acpi0: BAT1 model "42T4815" serial  6634 type LION oem "LGC 11"
> acpibtn0 at acpi0: LID_
> acpibtn1 at acpi0: PWRB
> cpu0: Enhanced SpeedStep 1296 MHz: speeds: 1300, 1200, 800 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
> vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> intagp0 at vga1
> agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
> inteldrm0 at vga1: apic 2 int 16 (irq 10)
> drm0 at inteldrm0
> "Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured
> uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 2
> int 16 (irq 10)
> uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 2
> int 21 (irq 10)
> uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 2
> int 19 (irq 10)
> ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 2
> int 19 (irq 10)
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03:
> apic 2 int 22 (irq 10)
> azalia0: codecs: Conexant/0x5066, Intel/0x2802, using Conexant/0x5066
> audio0 at azalia0
> ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: apic 2
> int 17 (irq 11)
> pci1 at ppb0 bus 2
> ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: apic 2
> int 16 (irq 10)
> pci2 at ppb1 bus 3
> iwn0 at pci2 dev 0 function 0 "Intel WiFi Link 1000" rev 0x00: apic 2
> int 17 (irq 11), MIMO 1T2R, BGS, address 00:26:c7:52:b1:02
> ppb2 at pci0 dev 28 function 5 "Intel 82801I PCIE" rev 0x03: apic 2
> int 16 (irq 10)
> pci3 at ppb2 bus 4
> re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D
> (0x2800), apic 2 int 17 (irq 11), address c8:0a:a9:bf:42:01
> rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
> uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 2
> int 23 (irq 10)
> uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 2
> int 19 (irq 10)
> uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: apic 2
> int 18 (irq 10)
> ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: apic 2
> int 23 (irq 10)
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x93
> pci4 at ppb3 bus 5
> pcib0 at pci0 dev 31 function 0 "Intel 82801IEM LPC" rev 0x03
> ahci0 at pci0 dev 31 function 2 "Intel 82801I AHCI" rev 0x03: apic 2
> int 19 (irq 10), AHCI 1.2
> ahci0: PHY offline on port 1
> ahci0: PHY offline on port 4
> ahci0: PHY offline on port 5
> scsibus0 at ahci0: 32 targets
> sd0 at scsibus0 targ 0 lun 0: <ATA, ST9250315AS, 0020> SCSI3 0/direct fixed
> sd0: 238475MB, 512 bytes/sec, 488397168 sec total
> ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x03: apic
> 2 int 19 (irq 10)
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-8500 SO-DIMM
> usb2 at uhci0: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci1: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb4 at uhci2: USB revision 1.0
> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb5 at uhci3: USB revision 1.0
> uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb6 at uhci4: USB revision 1.0
> uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb7 at uhci5: USB revision 1.0
> uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> mtrr: Pentium Pro MTRR support
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> root on sd0a swap on sd0b dump on sd0b
> umass0 at uhub1 port 2 configuration 1 interface 0 "I0MEGA
> Mini128MB*IOM2I6" rev 2.00/0.71 addr 2
> umass0: using SCSI over Bulk-Only
> scsibus2 at umass0: 2 targets, initiator 0
> sd1 at scsibus2 targ 1 lun 0: <I0MEGA, Mini128MB*IOM2I6, 2.00> SCSI0
> 0/direct removable
> sd1: 123MB, 512 bytes/sec, 252416 sec total
> ###
>
> ________________________________
> French OpenBSD mailing list
> [hidden email]
> http://www.openbsd-france.org/communaute.php
>
>

--
Antoine

________________________________
French OpenBSD mailing list
[hidden email]
http://www.openbsd-france.org/communaute.php

Reply | Threaded
Open this post in threaded view
|

Re: Se connecter à FreeWifi

Mathieu KERJOUAN
   Bonjour,

J'ai exactement le même problème depuis que je suis chez Free. J'arrive à me
connecter à tous les autres hotspots gratuit (neuf, sfr) mais pas FreeWifi.
Après avoir récupéré quelques trames réseaux, je pense que c'est une
mauvaise interprétation des requêtes DHCP...

   A vrai dire, je n'en sais pas plus. :P

Cordialement/Best regards,

Mathieu Kerjouan.
Reply | Threaded
Open this post in threaded view
|

Re: Se connecter à FreeWifi

Mathieu KERJOUAN
Je pense finalement que c'est un problème au niveau de l'authentification
802.11. Après avoir fait un petit tcpdump, j'obtiens ça en boucle:

20:06:48.622303 802.11: authentication request, <radiotap v0, chan 43008>
  0000: 0000 4000 0a00 0000 0000 a809 e004 0000  ..@.......¨.à...
  0010: 0000 0000 0000 0000 0000 0000 0000 0000  ................
  0020: 0000 0000 0000 0000 0000 0000 0000 0000  ................
  0030: 0000 0000 0000 0000 0000 0000 0000 0000  ................
  0040: b000 0000 f26e 07bc acb2 0017 c44d f296  °...òn.¼¬²..ÄMò.
  0050: f26e 07bc acb2 0000 0000 0100 0000       òn.¼¬²........

20:06:56.632286 802.11: authentication request, <radiotap v0, chan 43008>
  0000: 0000 4000 0a00 0000 0000 a809 e004 0000  ..@.......¨.à...
  0010: 0000 0000 0000 0000 0000 0000 0000 0000  ................
  0020: 0000 0000 0000 0000 0000 0000 0000 0000  ................
  0030: 0000 0000 0000 0000 0000 0000 0000 0000  ................
  0040: b000 0000 f26e 07bc acb2 0017 c44d f296  °...òn.¼¬²..ÄMò.
  0050: f26e 07bc acb2 0000 0000 0100 0000       òn.¼¬²........

Cordialement/Best regards,

Mathieu Kerjouan.
Reply | Threaded
Open this post in threaded view
|

Re: Se connecter à FreeWifi

TeXitoi-4
In reply to this post by Antoine Jacoutot-7
Antoine Jacoutot <[hidden email]> writes:

> On Wed, 22 Dec 2010, hyjial wrote:
>
> > # ifconfig iwn0 nwid FreeWifi
> > # dhclient iwn0
> > ** et là, des DHCPDISCOVER qui n'aboutissent à rien **
>
> Moi c'est pareil. Utilises isc-dhcp-client à la place.

ha, bon à savoir, ça.

> > # ifconfig iwn0 scan
> > iwn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500

Faut baisser le mtu aussi pour pouvoir utiliser correctement
FreeWifi.  C'est vraiment mal foutu comme réseau, je trouve...

--
Guillaume Pinot                                http://www.texitoi.eu

« Les grandes personnes ne comprennent jamais rien toutes seules, et
c'est fatigant, pour les enfants, de toujours leur donner des
explications... » -- Antoine de Saint-Exupéry, Le Petit Prince

()  ASCII ribbon campaign      -- Against HTML e-mail
/\  http://www.asciiribbon.org -- Against proprietary attachments


________________________________
French OpenBSD mailing list
[hidden email]
http://www.openbsd-france.org/communaute.php

Reply | Threaded
Open this post in threaded view
|

Re: Se connecter à FreeWifi

Hyjial Irldar
Merci pour ces réponses rapides. Fait curieux, par contre :
$ /usr/local/sbin/dhclient iwn0
...
iwn0: not found
...
exiting
$ echo $?
1
$ grep '^[^#]' /etc/dhclient.conf
$

Le manuel ne m'a pas apporté beaucoup d'éclairage...

Je n'ai pas baissé la MTU par contre. Tant que je n'ai pas d'adresse
IP, ça ne change rien, non ?

Alexis.

________________________________
French OpenBSD mailing list
[hidden email]
http://www.openbsd-france.org/communaute.php

Reply | Threaded
Open this post in threaded view
|

Re: Se connecter à FreeWifi

TeXitoi-4
hyjial <[hidden email]> writes:

> Merci pour ces réponses rapides. Fait curieux, par contre :
> $ /usr/local/sbin/dhclient iwn0
> ...
> iwn0: not found
> ...
> exiting
> $ echo $?
> 1

J'ai la même chose, mais je l'avais fait marché au moment de la
discution (et j'avais bien obtenu une IP de FreeWifi sous OpenBSD pour
la première fois).

Je pense que ça peut être du à une désyncronisation entre le système
de base et les packages (j'ai pas fais de mise à jour de la base
depuis un petit mois, mais j'ai fais des mises à jour des paquets).

Tu es en current ou en stable ?

> Je n'ai pas baissé la MTU par contre. Tant que je n'ai pas d'adresse
> IP, ça ne change rien, non ?

Tant qu'il n'y a pas d'IP, ça ne devrait rien changer car les paquets
dhcp doivent être bien plus petit que le MTU. Avec cette erreur, ça ne
change absolument rien car dhclient n'arrive même pas à utiliser
l'interface, dc envoyer des paquets...

--
Guillaume Pinot                                http://www.texitoi.eu

« Les grandes personnes ne comprennent jamais rien toutes seules, et
c'est fatigant, pour les enfants, de toujours leur donner des
explications... » -- Antoine de Saint-Exupéry, Le Petit Prince

()  ASCII ribbon campaign      -- Against HTML e-mail
/\  http://www.asciiribbon.org -- Against proprietary attachments


________________________________
French OpenBSD mailing list
[hidden email]
http://www.openbsd-france.org/communaute.php

Reply | Threaded
Open this post in threaded view
|

Re: Se connecter à FreeWifi

Hyjial Irldar
> Tu es en current ou en stable ?
Je suis en -current. Au moment où j'ai posté, ladite -current était un
peu âgée (problèmes d'accès à Internet). J'ai fait une mise à jour
depuis, mais le problème
persiste. Je risque d'avoir un accès stable à Internet d'ici peu, je
pourrai tester avec un système et des paquets à jour.

A suivre, donc...

Alexis.

P.S.: désolé pour le délai de réponse, accès à Internet déficient oblige.

________________________________
French OpenBSD mailing list
[hidden email]
http://www.openbsd-france.org/communaute.php

Reply | Threaded
Open this post in threaded view
|

Re: Se connecter à FreeWifi

Mattieu Baptiste-2
2011/1/9 hyjial <[hidden email]>:
>> Tu es en current ou en stable ?
> Je suis en -current. Au moment où j'ai posté, ladite -current était un
> peu âgée (problèmes d'accès à Internet). J'ai fait une mise à jour
> depuis, mais le problème
> persiste. Je risque d'avoir un accès stable à Internet d'ici peu, je
> pourrai tester avec un système et des paquets à jour.
>

Je n'utilise pas freewifi, mais ce problème concerne également
d'autres OS. Un pote à moi galérait avec MacOS.
Le problème venait des serveurs DHCP de Free qui mettaient énormément
de temps à répondre (un Windows attendait des fois 9 DHCP REQUEST
avant d'avoir une réponse). Certains clients DHCP, dont celui
d'OpenBSD n'attendent pas ce délai.

D'après mon pote ça a été corrigé récemment. Comme le dit Antoine,
avec isc-dhcp-client ça devrait passer.


--
Mattieu Baptiste
"/earth is 102% full ... please delete anyone you can."

________________________________
French OpenBSD mailing list
[hidden email]
http://www.openbsd-france.org/communaute.php

Reply | Threaded
Open this post in threaded view
|

Re: Se connecter à FreeWifi

Laurent Ghigonis-2
In reply to this post by Antoine Jacoutot-7
On Wed, Dec 22, 2010 at 04:13:18PM +0100, Antoine Jacoutot wrote:
> On Wed, 22 Dec 2010, hyjial wrote:
> > Je n'arrive pas à me connecter à FreeWifi, le réseau de hotspots du
> Moi c'est pareil. Utilises isc-dhcp-client à la place.

Effectivement ca marche mieux, merci du conseil :)

Pour info, en cas de message d'erreur du genre
    iwn0: not found
alors que l'interface existe,
il faut assigner une ip a la main a l'interface, n'importe laquelle,
juste pour que le dhclient isc veuille bien voir l'interface.

Et si on arrive plus a avoir une ip, du genre
    Sending on   Socket/fallback
    DHCPDISCOVER on iwn0 to 255.255.255.255 port 67 interval 1
    DHCPOFFER from 78.251.255.254
    DHCPREQUEST on iwn0 to 255.255.255.255 port 67
    DHCPREQUEST on iwn0 to 255.255.255.255 port 67
    => on est renvoyé a la case départ après chaque OFFER
alors il est temps de changer d'addresse mac
    sudo ifconfig iwn0 lladdr random

Si qqun veut utiliser un routing domain different de 0 j'ai commencé
un patch pour le port -current pas encore mis au propre mais ca marche :

patches/patch-client_dhclient_c:
--- client/dhclient.c.orig Tue Sep  1 22:32:27 2009
+++ client/dhclient.c Mon Jan 24 15:30:45 2011
@@ -2445,6 +2445,27 @@ int write_client_lease (client, lease, rewrite, makesu
  return errors ? 0 : 1;
 }
 
+ int
+ get_rdomain(char *name)
+ {
+     int rv = 0, s;
+     struct  ifreq ifr;
+
+     if ((s = socket(AF_INET, SOCK_DGRAM, 0)) == -1)
+     {
+ log_error("get_rdomain socket: %m");
+ return 0;
+     }
+
+     bzero(&ifr, sizeof(ifr));
+     strlcpy(ifr.ifr_name, name, sizeof(ifr.ifr_name));
+     if (ioctl(s, SIOCGIFRDOMAIN, (caddr_t)&ifr) != -1)
+ rv = ifr.ifr_rdomainid;
+
+     close(s);
+     return rv;
+}
+
 /* Variables holding name of script and file pointer for writing to
    script.   Needless to say, this is not reentrant - only one script
    can be invoked at a time. */
@@ -2457,6 +2478,7 @@ void script_init (client, reason, medium)
  struct string_list *medium;
 {
  struct string_list *sl, *next;
+ char *rdomain;
 
  if (client) {
  for (sl = client -> env; sl; sl = next) {
@@ -2470,6 +2492,10 @@ void script_init (client, reason, medium)
  client_envadd (client, "", "interface", "%s",
        client -> interface -> name);
  }
+ if (asprintf(&rdomain, "-T %d", get_rdomain(client -> interface -> name)) == -1)
+     log_error("script_init: no memory for environment");
+ client_envadd(client, "", "rdomain", "%s", rdomain);
+ free(rdomain);
  if (client -> name)
  client_envadd (client,
        "", "client", "%s", client -> name);

patches/patch-client_scripts_openbsd:
--- client/scripts/openbsd.orig Mon Jan 24 15:15:00 2011
+++ client/scripts/openbsd Mon Jan 24 15:15:06 2011
@@ -71,7 +71,7 @@ fi
 if [ x$reason = xPREINIT ]; then
   if [ x$alias_ip_address != x ]; then
     ifconfig $interface inet -alias $alias_ip_address > /dev/null 2>&1
-    route delete $alias_ip_address 127.0.0.1 > /dev/null 2>&1
+    route $rdomain delete $alias_ip_address 127.0.0.1 > /dev/null 2>&1
   fi
   ifconfig $interface inet 0.0.0.0 netmask 0.0.0.0 \
  broadcast 255.255.255.255 up
@@ -96,19 +96,19 @@ if [ x$reason = xBOUND ] || [ x$reason = xRENEW ] || \
   if [ x$old_ip_address != x ] && [ x$alias_ip_address != x ] && \
  [ x$alias_ip_address != x$old_ip_address ]; then
     ifconfig $interface inet -alias $alias_ip_address > /dev/null 2>&1
-    route delete $alias_ip_address 127.0.0.1 > /dev/null 2>&1
+    route $rdomain delete $alias_ip_address 127.0.0.1 > /dev/null 2>&1
   fi
   if [ x$old_ip_address != x ] && [ x$old_ip_address != x$new_ip_address ]
    then
     eval "ifconfig $interface inet -alias $old_ip_address $medium"
-    route delete $old_ip_address 127.1 >/dev/null 2>&1
+    route $rdomain delete $old_ip_address 127.1 >/dev/null 2>&1
     for router in $old_routers; do
-      route delete default $router >/dev/null 2>&1
+      route $rdomain delete default $router >/dev/null 2>&1
     done
     if [ "$old_static_routes" != "" ]; then
       set $old_static_routes
       while [ $# -gt 1 ]; do
- route delete $1 $2
+ route $rdomain delete $1 $2
  shift; shift
       done
     fi
@@ -118,14 +118,14 @@ if [ x$reason = xBOUND ] || [ x$reason = xRENEW ] || \
      [ x$reason = xBOUND ] || [ x$reason = xREBOOT ]; then
     eval "ifconfig $interface inet $new_ip_address $new_netmask_arg \
  $new_broadcast_arg $medium"
-    route add $new_ip_address 127.1 >/dev/null 2>&1
+    route $rdomain add $new_ip_address 127.1 >/dev/null 2>&1
     for router in $new_routers; do
-      route add default $router >/dev/null 2>&1
+      route $rdomain add default $router >/dev/null 2>&1
     done
     if [ "$new_static_routes" != "" ]; then
       set $new_static_routes
       while [ $# -gt 1 ]; do
- route add $1 $2
+ route $rdomain add $1 $2
  shift; shift
       done
     fi
@@ -133,7 +133,7 @@ if [ x$reason = xBOUND ] || [ x$reason = xRENEW ] || \
   if [ x$new_ip_address != x$alias_ip_address ] && [ x$alias_ip_address != x ];
    then
     ifconfig $interface inet alias $alias_ip_address $alias_subnet_arg
-    route add $alias_ip_address 127.0.0.1
+    route $rdomain add $alias_ip_address 127.0.0.1
   fi
   make_resolv_conf
   exit_with_hooks 0
@@ -143,18 +143,18 @@ if [ x$reason = xEXPIRE ] || [ x$reason = xFAIL ] || [
    || [ x$reason = xSTOP ]; then
   if [ x$alias_ip_address != x ]; then
     ifconfig $interface inet -alias $alias_ip_address > /dev/null 2>&1
-    route delete $alias_ip_address 127.0.0.1 > /dev/null 2>&1
+    route $rdomain delete $alias_ip_address 127.0.0.1 > /dev/null 2>&1
   fi
   if [ x$old_ip_address != x ]; then
     eval "ifconfig $interface inet -alias $old_ip_address $medium"
-    route delete $old_ip_address 127.1 >/dev/null 2>&1
+    route $rdomain delete $old_ip_address 127.1 >/dev/null 2>&1
     for router in $old_routers; do
-      route delete default $router >/dev/null 2>&1
+      route $rdomain delete default $router >/dev/null 2>&1
     done
     if [ "$old_static_routes" != "" ]; then
       set $old_static_routes
       while [ $# -gt 1 ]; do
- route delete $1 $2
+ route $rdomain delete $1 $2
  shift; shift
       done
     fi
@@ -163,7 +163,7 @@ if [ x$reason = xEXPIRE ] || [ x$reason = xFAIL ] || [
   fi
   if [ x$alias_ip_address != x ]; then
     ifconfig $interface inet alias $alias_ip_address $alias_subnet_arg
-    route add $alias_ip_address 127.0.0.1
+    route $rdomain add $alias_ip_address 127.0.0.1
   fi
   exit_with_hooks 0
 fi
@@ -171,7 +171,7 @@ fi
 if [ x$reason = xTIMEOUT ]; then
   if [ x$alias_ip_address != x ]; then
     ifconfig $interface inet -alias $alias_ip_address > /dev/null 2>&1
-    route delete $alias_ip_address 127.0.0.1 > /dev/null 2>&1
+    route $rdomain delete $alias_ip_address 127.0.0.1 > /dev/null 2>&1
   fi
   eval "ifconfig $interface inet $new_ip_address $new_netmask_arg \
  $new_broadcast_arg $medium"
@@ -182,15 +182,15 @@ if [ x$reason = xTIMEOUT ]; then
       if [ x$new_ip_address != x$alias_ip_address ] && \
  [ x$alias_ip_address != x ]; then
  ifconfig $interface inet alias $alias_ip_address $alias_subnet_arg
- route add $alias_ip_address 127.0.0.1
+ route $rdomain add $alias_ip_address 127.0.0.1
       fi
-      route add $new_ip_address 127.1 >/dev/null 2>&1
+      route $rdomain add $new_ip_address 127.1 >/dev/null 2>&1
       for router in $new_routers; do
- route add default $router >/dev/null 2>&1
+ route $rdomain add default $router >/dev/null 2>&1
       done
       set $new_static_routes
       while [ $# -gt 1 ]; do
- route add $0 $1
+ route $rdomain add $0 $1
  shift; shift
       done
       make_resolv_conf
@@ -199,12 +199,12 @@ if [ x$reason = xTIMEOUT ]; then
   fi
   eval "ifconfig $interface inet -alias $new_ip_address $medium"
   for router in $old_routers; do
-    route delete default $router >/dev/null 2>&1
+    route $rdomain delete default $router >/dev/null 2>&1
   done
   if [ "$old_static_routes" != "" ]; then
     set $old_static_routes
     while [ $# -gt 1 ]; do
-      route delete $1 $2
+      route $rdomain delete $1 $2
       shift; shift
     done
   fi

laurent

________________________________
French OpenBSD mailing list
[hidden email]
http://www.openbsd-france.org/communaute.php

Reply | Threaded
Open this post in threaded view
|

phpMyAdmin $cfg['Servers'][$i]['host'] = '127.0.0.1';

user0
In reply to this post by Mathieu KERJOUAN
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Bonjour, je ne sais pas pourquoi, mais ça ne marche pas avec localhost.

D'autre part, je pense qu'il y a eu un oubli ici :

- ------------------------------------------------------------------------

# pkg_info php5-core

Information for inst:php5-core-5.2.13p0

Comment:
server-side HTML-embedded scripting language

Required by:
php5-gd-5.2.13p0
php5-mcrypt-5.2.13p0
php5-mysql-5.2.13p0
php5-mbstring-5.2.13p0

Description:
At the most basic level, PHP can do anything any other CGI program
can do, such as collect form data, generate dynamic page content,
or send and receive cookies.

PHP also has support for talking to other services using protocols
such as IMAP, SNMP, NNTP, POP3, or even HTTP. You can also open
raw network sockets and interact using other protocols.

This package installs a stand-alone binary which can be used for
command-line scripts, as well as an Apache module.

By default this port uses the suhosin patch.
The suhosin patch adds security hardening features to PHP
to protect your servers on the one hand against a number of
well known problems in PHP applications and on the other hand
against potential unknown vulnerabilities within those
applications or the PHP core itself.
http://www.hardened-php.net/suhosin/index.html

Maintainer: Robert Nagy <[hidden email]>

WWW: http://www.php.net/

Install notice:
To enable the php5 module please create a symbolic
link from /var/www/conf/modules.sample/php5.conf
to /var/www/conf/modules/php5.conf.

ln -s /var/www/conf/modules.sample/php5.conf \
        /var/www/conf/modules<-----------------------

The recommended php configuration has been installed
to /var/www/conf/php.ini.


-
-------------------------------------------------------------------------------------------------------

$ uname -a
OpenBSD Safe 4.8 GENERIC.MP#359 i386
$


$ su
Password:
# httpd -DSSL;mysqld_safe&

[Tue Jan 25 22:04:25 2011] [alert] httpd: Could not determine the
server's fully qualified domain name, using Safe for ServerName
Apache/1.3.29 mod_ssl/2.8.16 (Pass Phrase Dialog)
Some of your private key files are encrypted for security reasons.
In order to read them you have to provide us with the pass phrases.

Server new.host.name:443 (RSA)
Enter pass phrase:

Ok: Pass Phrase Dialog successful.
[1] 8306
# 110125 22:04:28 mysqld_safe Logging to '/var/mysql/Safe.err'.
110125 22:04:28 mysqld_safe Starting mysqld daemon with databases from
/var/mysql

#

http://darkkiller6.free.fr/screen.png

en modifiant :

$cfg['Servers'][$i]['host'] = 'localhost';

en :


$cfg['Servers'][$i]['host'] = '127.0.0.1';

http://darkkiller6.free.fr/screen2.png



Voici quelques configs :

# cat /etc/hosts
#       $OpenBSD: hosts,v 1.12 2009/03/10 00:42:13 deraadt Exp $
#
# Host Database
#
# RFC 1918 specifies that these networks are "internal".
# 10.0.0.0      10.255.255.255
# 172.16.0.0    172.31.255.255
# 192.168.0.0   192.168.255.255
#
127.0.0.1       localhost
#::1            localhost
#


http://darkkiller6.free.fr/var.www.conf.httdp.conf
http://darkkiller6.free.fr/var.www.phpMyAdmin.config.inc.php

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (OpenBSD)

iF4EAREIAAYFAk0/PvQACgkQ4zGlXnjZS+yZOgEA0eIvnZfFObsdLdhWxBRz9jv6
iAbOwltD/ToKLB/+nNEBAOlE2Aqy+X57DiXYFWHnsF0qd8nfP12jF2Zq+agvN97T
=m9Vd
-----END PGP SIGNATURE-----

________________________________
French OpenBSD mailing list
[hidden email]
http://www.openbsd-france.org/communaute.php

Reply | Threaded
Open this post in threaded view
|

Re: phpMyAdmin $cfg['Servers'][$i]['host'] = '127.0.0.1';

TeXitoi-4
v2 <[hidden email]> writes:

> Bonjour, je ne sais pas pourquoi, mais ça ne marche pas avec localhost.

Surement parce qu'apache sous OpenBSD est chrooté par défaut, et que
donc il n'a pas accès à /etc/hosts et /etc/resolv.conf.

http://www.openbsd.org/faq/faq10.html#httpdchroot

  Name Resolution: httpd(8) inside the chroot(2) will NOT be able to
  use the system /etc/hosts or /etc/resolv.conf. Therefore, if you
  have applications which require name resolution, you will need to
  populate /var/www/etc/hosts and/or /var/www/etc/resolv.conf in the
  chroot(2) environment. Note that some applications expect the
  resolution of "localhost" to work.

> D'autre part, je pense qu'il y a eu un oubli ici :

Je ne comprends pas où il y a eu un oubli.

> [...]
>
> http://darkkiller6.free.fr/var.www.conf.httdp.conf

httdp.conf ? C'est juste une typo de renomage ?

--
Guillaume Pinot                               http://www.texitoi.eu

« Il semble que la perfection soit atteinte non quand il n’y a plus
rien à ajouter, mais quand il n’y a plus rien à retrancher. »
                      -- Antoine de Saint-Exupéry, Terre des hommes

()  ASCII ribbon campaign      -- Against HTML e-mail
/\  http://www.asciiribbon.org -- Against proprietary attachments


________________________________
French OpenBSD mailing list
[hidden email]
http://www.openbsd-france.org/communaute.php

Reply | Threaded
Open this post in threaded view
|

Re: Re: phpMyAdmin $cfg['Servers'][$i]['host'] = '127.0.0.1';

user0
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

>> D'autre part, je pense qu'il y a eu un oubli ici :
>
> Je ne comprends pas où il y a eu un oubli.
>
>> [...]

Je retire ...

>>
>> http://darkkiller6.free.fr/var.www.conf.httdp.conf
>
> httdp.conf ? C'est juste une typo de renomage ?
>

Oui.

Merci pour la doc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (OpenBSD)

iF4EAREIAAYFAk0/SPUACgkQ4zGlXnjZS+zqjAEAtMuFktp9M4C4lUSbO9zuC9gl
LmJw98szd/LGYA+eG4wA/R8AD6iB2IpbLpdiZHGRs1/uXWkDI1/E12NwXeuDQvbx
=AJH7
-----END PGP SIGNATURE-----

________________________________
French OpenBSD mailing list
[hidden email]
http://www.openbsd-france.org/communaute.php

Reply | Threaded
Open this post in threaded view
|

Re: Re: phpMyAdmin $cfg['Servers'][$i]['host'] = '127.0.0.1';

user0
In reply to this post by TeXitoi-4
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Effectivement en lançant httpd avec l'option '-u'tout fonctionne ...

(J'ai même une connecte avec le socket)

J'ai copié /etc/hosts et /etc/resolv.conf dans /var/www/etc/hosts et
/var/www/etc/resolv.conf

(je l'ai aussi mis dans /var/www/htdocs/ et /var/www/phpMyAdmin) mais
rien n'y fait.

Et je suppose que mon lien symbolique dois être faux également :

# pwd
/var/www/var/run/mysql
# ls -l
total 0
lrwxr-xr-x  1 root  daemon  32 Jan 25 23:14 mysql.sock ->
../../../../run/mysql/mysql.sock
#
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (OpenBSD)

iF4EAREIAAYFAk0/Tq4ACgkQ4zGlXnjZS+xgMgD/R6W7woz3o+jy2PZCio4V0jl0
Hb8IjtE43IzF/V4WxywA/iJFAjc9WHar9pbCfcZI/g0jh4r29IbKhnj24Oo6YM0v
=JEyW
-----END PGP SIGNATURE-----

________________________________
French OpenBSD mailing list
[hidden email]
http://www.openbsd-france.org/communaute.php

Reply | Threaded
Open this post in threaded view
|

Re: phpMyAdmin $cfg['Servers'][$i]['host'] = '127.0.0.1';

TeXitoi-4
v2 <[hidden email]> writes:

> Effectivement en lançant httpd avec l'option '-u'tout fonctionne ...
>
> (J'ai même une connecte avec le socket)
>
> J'ai copié /etc/hosts et /etc/resolv.conf dans /var/www/etc/hosts et
> /var/www/etc/resolv.conf

Ça c'est bon. Si ton resolv.conf change, il faut pas oublier de
syncroniser. Mais bon, as-tu vraiment besoin de la résolution des
noms? 127.0.0.1 ça marche très bien finalement.

> Et je suppose que mon lien symbolique dois être faux également :
>
> # pwd
> /var/www/var/run/mysql
> # ls -l
> total 0
> lrwxr-xr-x  1 root  daemon  32 Jan 25 23:14 mysql.sock ->
> ../../../../run/mysql/mysql.sock
> #

Ça ne peut pas marcher avec un lien symbolique. Pour apache chrooté, /
correspond à /var/www/, donc il ne peut accéder à rien en dessous de
/var/www, donc pas à /var, donc pas à /var/run/mysql. Tu peux faire un
lien dur (sans le -s), mais il faut que /var/run/mysql et
/var/www/var/run/mysql soient sur la même partition (et il faut
recréer ce lien à chaque démarrage de mysql). Si tu cherches un peu,
tu trouveras pleins d'explication là dessus sur le net.

--
Guillaume Pinot                               http://www.texitoi.eu

« Il semble que la perfection soit atteinte non quand il n’y a plus
rien à ajouter, mais quand il n’y a plus rien à retrancher. »
                      -- Antoine de Saint-Exupéry, Terre des hommes

()  ASCII ribbon campaign      -- Against HTML e-mail
/\  http://www.asciiribbon.org -- Against proprietary attachments


________________________________
French OpenBSD mailing list
[hidden email]
http://www.openbsd-france.org/communaute.php

Reply | Threaded
Open this post in threaded view
|

Re: Re: phpMyAdmin $cfg['Servers'][$i]['host'] = '127.0.0.1';

Julien Escario
Le 26/01/2011 10:41, TeXitoi a écrit :

> v2<[hidden email]>  writes:
>
>> Effectivement en lançant httpd avec l'option '-u'tout fonctionne ...
>>
>> (J'ai même une connecte avec le socket)
>>
>> J'ai copié /etc/hosts et /etc/resolv.conf dans /var/www/etc/hosts et
>> /var/www/etc/resolv.conf
>
> Ça c'est bon. Si ton resolv.conf change, il faut pas oublier de
> syncroniser. Mais bon, as-tu vraiment besoin de la résolution des
> noms? 127.0.0.1 ça marche très bien finalement.

Ca va être pratique ce genre de raisonnements en Ipv6 ...

Julien

________________________________
French OpenBSD mailing list
[hidden email]
http://www.openbsd-france.org/communaute.php

Reply | Threaded
Open this post in threaded view
|

Re: Re: phpMyAdmin $cfg['Servers'][$i]['host'] = '127.0.0.1';

user0
In reply to this post by TeXitoi-4
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 01/26/11 10:41, TeXitoi wrote:

> v2 <[hidden email]> writes:
>
>> Effectivement en lançant httpd avec l'option '-u'tout fonctionne ...
>>
>> (J'ai même une connecte avec le socket)
>>
>> J'ai copié /etc/hosts et /etc/resolv.conf dans /var/www/etc/hosts et
>> /var/www/etc/resolv.conf
>
> Ça c'est bon. Si ton resolv.conf change, il faut pas oublier de
> syncroniser. Mais bon, as-tu vraiment besoin de la résolution des
> noms? 127.0.0.1 ça marche très bien finalement.
>
>> Et je suppose que mon lien symbolique dois être faux également :
>>
>> # pwd
>> /var/www/var/run/mysql
>> # ls -l
>> total 0
>> lrwxr-xr-x  1 root  daemon  32 Jan 25 23:14 mysql.sock ->
>> ../../../../run/mysql/mysql.sock
>> #
>
> Ça ne peut pas marcher avec un lien symbolique. Pour apache chrooté, /
> correspond à /var/www/, donc il ne peut accéder à rien en dessous de
> /var/www, donc pas à /var, donc pas à /var/run/mysql. Tu peux faire un
> lien dur (sans le -s), mais il faut que /var/run/mysql et
> /var/www/var/run/mysql soient sur la même partition (et il faut
> recréer ce lien à chaque démarrage de mysql). Si tu cherches un peu,
> tu trouveras pleins d'explication là dessus sur le net.
>

Hum, ok pour le lien symbolique.

Par contre le localhost je vais quand même essayer de le corriger.

Merci encore.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (OpenBSD)

iF4EAREIAAYFAk1AAYkACgkQ4zGlXnjZS+y4mwEA1CeZ4Py62bUNhm6TmKTBdAmb
gCWXpmJUmZFtcTT8pyoA/0fE0sXxNacmVyDhenosjaKG1nTjQ2/WQFUxPOtUcVs+
=SC4s
-----END PGP SIGNATURE-----

________________________________
French OpenBSD mailing list
[hidden email]
http://www.openbsd-france.org/communaute.php