Wireless failed when a space is present in SSID

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

Wireless failed when a space is present in SSID

japs
>Synopsis: Wireless failed when a space is present in SSI
>Category: Wireless
>Environment:
        System      : OpenBSD 6.5
        Details     : OpenBSD 6.5 (GENERIC) #1338: Sat Apr 13 15:07:04 MDT 2019
                         [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC

        Architecture: OpenBSD.i386
        Machine     : i386
>Description:
        With SSID/NWID set to "WLAN Repeater" then no connection is obtained.
        This was not a problem in OpenBSD 6.3
        A SSID/NWID without a space works correctly.
        This report was generated with a working SSID
>How-To-Repeat:
        Use a SSID/NWID with a space in the middle.
>Fix:
        Avoid a space in SSID.


dmesg:
OpenBSD 6.5 (GENERIC) #1338: Sat Apr 13 15:07:04 MDT 2019
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
real mem  = 2145456128 (2046MB)
avail mem = 2091098112 (1994MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 07/07/06, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xf0450 (70 entries)
bios0: vendor Dell Inc. version "A09" date 07/07/2006
bios0: Dell Inc. Dimension 8400
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC BOOT MCFG HPET
acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI1(S5) PCI2(S5) PCI3(S5) PCI4(S5) USB0(S3) USB1(S3) USB2(S3) USB3(S3)
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) Pentium(R) 4 CPU 3.00GHz ("GenuineIntel" 686-class) 3 GHz, 0f-03-04
cpu0: FPU,V86,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,PBE,SSE3,DTES64,MWAIT,DS-CPL,CNXT-ID,xTPR,MELTDOWN
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 199MHz
ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins, remapped
acpimcfg0 at acpi0
acpimcfg0: addr 0xe0000000, bus 0-255
acpimcfg0: addr 0x0, bus 0-0
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 4 (PCI1)
acpiprt1 at acpi0: bus 2 (PCI2)
acpiprt2 at acpi0: bus 3 (PCI3)
acpiprt3 at acpi0: bus 1 (PCI4)
acpiprt4 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C1(@1 halt!)
acpibtn0 at acpi0: VBTN
"PNP0A03" at acpi0 not configured
acpicmos0 at acpi0
bios0: ROM list: 0xc0000/0xe800 0xce800/0x1800!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82925X Host" rev 0x04
ppb0 at pci0 dev 1 function 0 "Intel 82925X PCIE" rev 0x04: apic 8 int 16
pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 0 function 0 "ATI Radeon X800 SE" rev 0x00
drm0 at radeondrm0
radeondrm0: msi
vendor "ATI", unknown product 0x556b (class display subclass miscellaneous, rev 0x00) at pci1 dev 0 function 1 not configured
ppb1 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03: apic 8 int 16
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 "Broadcom BCM5751" rev 0x01, BCM5750 A1 (0x4001): apic 8 int 16, address 00:11:11:0f:fc:41
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb2 at pci0 dev 28 function 1 "Intel 82801FB PCIE" rev 0x03: apic 8 int 17
pci3 at ppb2 bus 3
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: apic 8 int 21
uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x03: apic 8 int 22
uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x03: apic 8 int 18
uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: apic 8 int 23
ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x03: apic 8 int 21
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xd3
pci4 at ppb3 bus 4
auich0 at pci0 dev 30 function 2 "Intel 82801FB AC97" rev 0x03: apic 8 int 23, ICH6
ac97: codec id 0x41445370 (Analog Devices AD1980)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FB LPC" rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x03: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <BENQ, DVD DD DW1620, B7P9> ATAPI 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
pciide1 at pci0 dev 31 function 2 "Intel 82801FR SATA" rev 0x03: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 8 int 20 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <WDC WD740GD-75FLA1>
wd0: 16-sector PIO, LBA48, 70571MB, 144531250 sectors
wd1 at pciide1 channel 0 drive 1: <WDC WD740GD-75FLA1>
wd1: 16-sector PIO, LBA48, 70571MB, 144531250 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
wd1(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 6
ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x03: apic 8 int 17
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM ECC PC2-4200CL4
spdmem1 at iic0 addr 0x51: 512MB DDR2 SDRAM ECC PC2-4200CL4
spdmem2 at iic0 addr 0x52: 512MB DDR2 SDRAM ECC PC2-4200CL4
spdmem3 at iic0 addr 0x53: 512MB DDR2 SDRAM ECC PC2-4200CL4
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
urtwn0 at uhub0 port 6 configuration 1 interface 0 "Realtek 802.11n WLAN Adapter" rev 2.00/2.00 addr 2
urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R, address 74:da:38:60:26:da
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
uhidev0 at uhub4 port 1 configuration 1 interface 0 "Primax Electronics USB Optical Mouse" rev 2.00/2.00 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
uhidev1 at uhub4 port 2 configuration 1 interface 0 "CHICONY USB NetVista Full Width Keyboard" rev 1.10/1.02 addr 3
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on wd0a (65fdf79a9f810800.a) swap on wd0b dump on wd0b
initializing kernel modesetting (R423 0x1002:0x554B 0x1002:0x0302).
radeondrm0: 1680x1050, 32bpp
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
wskbd1: connecting to wsdisplay0
wsdisplay0: screen 1-5 added (std, vt100 emulation)

usbdevs:
Controller /dev/usb0:
addr 01: 8086:0000 Intel, EHCI root hub
         high speed, self powered, config 1, rev 1.00
         driver: uhub0
addr 02: 7392:7811 Realtek, 802.11n WLAN Adapter
         high speed, power 500 mA, config 1, rev 2.00, iSerial 00e04c000001
         driver: urtwn0
Controller /dev/usb1:
addr 01: 8086:0000 Intel, UHCI root hub
         full speed, self powered, config 1, rev 1.00
         driver: uhub1
Controller /dev/usb2:
addr 01: 8086:0000 Intel, UHCI root hub
         full speed, self powered, config 1, rev 1.00
         driver: uhub2
Controller /dev/usb3:
addr 01: 8086:0000 Intel, UHCI root hub
         full speed, self powered, config 1, rev 1.00
         driver: uhub3
Controller /dev/usb4:
addr 01: 8086:0000 Intel, UHCI root hub
         full speed, self powered, config 1, rev 1.00
         driver: uhub4
addr 02: 0461:4d16 Primax Electronics, USB Optical Mouse
         low speed, power 100 mA, config 1, rev 2.00
         driver: uhidev0
addr 03: 04b3:3025 CHICONY, USB NetVista Full Width Keyboard
         low speed, power 100 mA, config 1, rev 1.02
         driver: uhidev1

Reply | Threaded
Open this post in threaded view
|

Re: Wireless failed when a space is present in SSID

Stefan Sperling-5
On Sun, Apr 28, 2019 at 09:00:09AM +0200, [hidden email] wrote:

> >Synopsis: Wireless failed when a space is present in SSI
> >Category: Wireless
> >Environment:
> System      : OpenBSD 6.5
> Details     : OpenBSD 6.5 (GENERIC) #1338: Sat Apr 13 15:07:04 MDT 2019
> [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
>
> Architecture: OpenBSD.i386
> Machine     : i386
> >Description:
> With SSID/NWID set to "WLAN Repeater" then no connection is obtained.
>         This was not a problem in OpenBSD 6.3
>         A SSID/NWID without a space works correctly.
> This report was generated with a working SSID
> >How-To-Repeat:
> Use a SSID/NWID with a space in the middle.
> >Fix:
> Avoid a space in SSID.

Please follow the advice given here and then report back:
https://marc.info/?l=openbsd-misc&m=155548753623743&w=2

Reply | Threaded
Open this post in threaded view
|

Re: Wireless failed when a space is present in SSID

Stefan Sperling-5
On Mon, Apr 29, 2019 at 11:07:26AM +0200, Stefan Sperling wrote:

> On Sun, Apr 28, 2019 at 09:00:09AM +0200, [hidden email] wrote:
> > >Synopsis: Wireless failed when a space is present in SSI
> > >Category: Wireless
> > >Environment:
> > System      : OpenBSD 6.5
> > Details     : OpenBSD 6.5 (GENERIC) #1338: Sat Apr 13 15:07:04 MDT 2019
> > [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
> >
> > Architecture: OpenBSD.i386
> > Machine     : i386
> > >Description:
> > With SSID/NWID set to "WLAN Repeater" then no connection is obtained.
> >         This was not a problem in OpenBSD 6.3
> >         A SSID/NWID without a space works correctly.
> > This report was generated with a working SSID
> > >How-To-Repeat:
> > Use a SSID/NWID with a space in the middle.
> > >Fix:
> > Avoid a space in SSID.
>
> Please follow the advice given here and then report back:
> https://marc.info/?l=openbsd-misc&m=155548753623743&w=2

As you have shown me without bugs@ in Cc (please keep it from now on,
thanks), your AP's name contains quotes.

/bsd:  - 00:25:45:xx:xx:xx   13  +216 54M   ess  privacy!   no  ""WLAN Repeater""!

Your network's name is

        "WLAN Repeater"

with quotes, but your OpenBSD client configuration assumes the network name:

        WLAN Repeater

without quotes.

You can either add the quotes on your OpenBSD client as well,
or remove them from the access point's configuration.

Reply | Threaded
Open this post in threaded view
|

Re: Wireless failed when a space is present in SSID

japs
In reply to this post by Stefan Sperling-5
I think you are right, but this is a new behavior from 6.3 to 6.5.
I have used "WLAN Repeater" for years wthout problems.
I will do a final test later today.

Jan Sorensen

On Mon, April 29, 2019 16:35, Stefan Sperling wrote:

> On Mon, Apr 29, 2019 at 02:15:02PM +0000, Jan P. Sorensen wrote:
>
>> I do not see any extra lines. It will just repeat forever the scan
>> lines I already have given you, until I do a -debug.
>
> Ah, sorry. I missed those lines.
>
>
> I have replied to the list.
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Wireless failed when a space is present in SSID

Stuart Henderson
In reply to this post by Stefan Sperling-5
On 2019/04/29 16:32, Stefan Sperling wrote:

> On Mon, Apr 29, 2019 at 11:07:26AM +0200, Stefan Sperling wrote:
> > On Sun, Apr 28, 2019 at 09:00:09AM +0200, [hidden email] wrote:
> > > >Synopsis: Wireless failed when a space is present in SSI
> > > >Category: Wireless
> > > >Environment:
> > > System      : OpenBSD 6.5
> > > Details     : OpenBSD 6.5 (GENERIC) #1338: Sat Apr 13 15:07:04 MDT 2019
> > > [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
> > >
> > > Architecture: OpenBSD.i386
> > > Machine     : i386
> > > >Description:
> > > With SSID/NWID set to "WLAN Repeater" then no connection is obtained.
> > >         This was not a problem in OpenBSD 6.3
> > >         A SSID/NWID without a space works correctly.
> > > This report was generated with a working SSID
> > > >How-To-Repeat:
> > > Use a SSID/NWID with a space in the middle.
> > > >Fix:
> > > Avoid a space in SSID.
> >
> > Please follow the advice given here and then report back:
> > https://marc.info/?l=openbsd-misc&m=155548753623743&w=2
>
> As you have shown me without bugs@ in Cc (please keep it from now on,
> thanks), your AP's name contains quotes.
>
> /bsd:  - 00:25:45:xx:xx:xx   13  +216 54M   ess  privacy!   no  ""WLAN Repeater""!
>
> Your network's name is
>
> "WLAN Repeater"
>
> with quotes, but your OpenBSD client configuration assumes the network name:
>
> WLAN Repeater
>
> without quotes.
>
> You can either add the quotes on your OpenBSD client as well,
> or remove them from the access point's configuration.
>

I wonder what changed between 6.3 and 6.5. Same firmware, nothing obvious in
netstart..


Reply | Threaded
Open this post in threaded view
|

Re: Wireless failed when a space is present in SSID

japs
In reply to this post by Stefan Sperling-5
The SSID with a space works correctly in 6.5

It turns out that the wireless connection initially fails (the boot page
shows that the interface is sleeping). But a few minutes later the
interface
will be connected anyway.

In 6.3 I did not see this behavior. The boot page would show that the
interface was connected.

In both cases I may have a poor wireless signal.

For this reason, I did the mistake to believe that I had a problem with the
space in the SSID.

Jan Sorensen

On Mon, April 29, 2019 16:35, Stefan Sperling wrote:

> On Mon, Apr 29, 2019 at 02:15:02PM +0000, Jan P. Sorensen wrote:
>
>> I do not see any extra lines. It will just repeat forever the scan
>> lines I already have given you, until I do a -debug.
>
> Ah, sorry. I missed those lines.
>
>
> I have replied to the list.
>
>