Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2016 05:08:40 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        =?ISO-8859-15?Q?=D6mer_G=FClmen?= <buhara13@yahoo.com>
Cc:        "freebsd-questions@FreeBSD.org" <freebsd-questions@FreeBSD.org>
Subject:   Re: xrandr
Message-ID:  <alpine.BSF.2.20.1603150506260.38741@wonkity.com>
In-Reply-To: <1684597747.97183.1458025220379.JavaMail.yahoo@mail.yahoo.com>
References:  <1942944243.1146982.1457962971125.JavaMail.yahoo.ref@mail.yahoo.com> <1942944243.1146982.1457962971125.JavaMail.yahoo@mail.yahoo.com> <alpine.BSF.2.20.1603141843590.27683@wonkity.com> <1684597747.97183.1458025220379.JavaMail.yahoo@mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Mar 2016, Ömer Gülmen wrote:

> On Tuesday, March 15, 2016 2:49 AM, Warren Block <wblock@wonkity.com> wrote:
> > On Mon, 14 Mar 2016, Ömer Gülmen via freebsd-questions wrote:
> > 
> > I ran this code:xrandr --mode 1280x1024 --rate 60But system out is:xrandr: --mode must be used after --output
> 
> > Does the video card have more than one output?  Most do, and it's 
> > reasonable that xrandr wants to know which output should be set to 
> > that mode.

> Graphics card has only one output by the way. I informed you because of to help to improve the document anyway.
> For your information...

Understood, and I did not mean to sound like we did not appreciate the 
information.  What I meant was that xrandr might not be written to 
understand that when there is only one output, it should not be 
necessary to specify an output.

Thanks!
From owner-freebsd-questions@freebsd.org  Tue Mar 15 11:38:57 2016
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 21E6DAD0BBB
 for <freebsd-questions@mailman.ysv.freebsd.org>;
 Tue, 15 Mar 2016 11:38:57 +0000 (UTC)
 (envelope-from carmel_ny@outlook.com)
Received: from BLU004-OMC4S22.hotmail.com (blu004-omc4s22.hotmail.com
 [65.55.111.161])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits))
 (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id E49887B1
 for <freebsd-questions@freebsd.org>; Tue, 15 Mar 2016 11:38:56 +0000 (UTC)
 (envelope-from carmel_ny@outlook.com)
Received: from BLU436-SMTP12 ([65.55.111.135]) by BLU004-OMC4S22.hotmail.com
 over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); 
 Tue, 15 Mar 2016 04:37:49 -0700
X-TMN: [gQsDb1wk0OHshKfpljxgJ2hS9tGsz9Ef]
X-Originating-Email: [carmel_ny@outlook.com]
Message-ID: <BLU436-SMTP12AE507FBD02D82FD09BC680890@phx.gbl>
X-Virus-Status: Clean
X-Virus-Scanned: clamav-milter 0.99 at scorpio.seibercom.net
Date: Tue, 15 Mar 2016 07:37:43 -0400
From: Carmel <carmel_ny@outlook.com>
To: freebsd-questions@freebsd.org
Subject: Re: Getting wireless network up and running
In-Reply-To: <BLU436-SMTP177232924BD6F54F9054D1E80890@phx.gbl>
References: <BLU436-SMTP73D3E85202EF34C6B8BBFD80880@phx.gbl>
 <CAOc73CCDhGqu7vLKJ7kO8rnvPMtzH+U=tMa3x--nEVqUc4ZUNg@mail.gmail.com>
 <BLU436-SMTP177232924BD6F54F9054D1E80890@phx.gbl>
Organization: Seibercom NET
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.28; i686-w64-mingw32)
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 15 Mar 2016 11:37:49.0424 (UTC)
 FILETIME=[1A30D700:01D17EAF]
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Mar 2016 11:38:57 -0000

On Tue, 15 Mar 2016 07:05:13 -0400, Carmel stated:

> On Mon, 14 Mar 2016 23:50:33 +0100, Ben Woods stated:
> 
> > On 14 March 2016 at 20:17, Carmel <carmel_ny@outlook.com> wrote:
> >   
> > > I cannot seem to get my wireless network up and running.
> > >
> > > /boot/loader.conf
> > > if_bwn_load="YES"  # Broadcom BCM43xx IEEE 802.11 wireless NICs
> > >
> > > /etc/rc.conf
> > > ## Wireless
> > > wlans_bwn="wlan0"
> > > ifconfig_wlan0="WPA SYNCDHCP"
> > >
> > > /etc/wpa_supplicant.conf
> > > network={
> > >         ssid="Wireless-2g"
> > >         psk="Secret"
> > >         key_mgmt=WPA-PSK
> > > }
> > >
> > > I have run "service netif restart", but the network never comes
> > > up. I tried rebooting, but still nothing.
> > >
> > > If I append a "0" to bwn; ie, wlans_bwn0="wlan0", I get this
> > > output:
> > >
> > > dhclient[1485]: short write: wanted 20 go 0 bytes
> > > dhclient[1485]: exiting
> > >
> > > The system is then frozen solid, so I am forced to reboot into
> > > single user mode and remove the entry in "rc.conf".
> > >
> > > Can anyone tell me what the problem is?
> > >
> > > Thanks!
> > >
> > > --
> > > Carmel    
> > 
> > 
> > Hi Carmel,
> > 
> > To help us determine which model of WiFi card you have, can you
> > please reply to the list with the output of "pciconf -lv".
> > 
> > By the way, your rc.conf line should be:
> > wlans_bwn0="wlan0"
> > 
> > Refer to the FreeBSD handbook for more details:
> > https://www.freebsd.org/doc/handbook/network-wireless.html
> > 
> > Refer to the bwn(4) man page for details about the bwn drive and
> > which models it supports:
> > https://www.freebsd.org/cgi/man.cgi?bwn  
> 
> I think that this is what you want:
> 
> siba_bwn0@pci0:2:1:0:   class=0x028000 card=0x100f1043
> chip=0x431814e4 rev=0x02 hdr=0x00 vendor     = 'Broadcom Corporation'
>     device     = 'BCM4318 [AirForce One 54g] 802.11g Wireless LAN
> Controller' class      = network
> 

Okay, I made another change. I got this from the boot-up messages:

Mar 14 15:16:44 scorpio1 kernel: siba_bwn0: <Broadcom BCM4318 802.11b/g Wireless> mem 0xfdefe000-0xfdefffff irq 16 at device 1.0 on pci2
Mar 14 15:16:44 scorpio1 kernel: bwn0 on siba_bwn0
Mar 14 15:16:44 scorpio1 kernel: bwn0: WLAN (chipid 0x4318 rev 9) PHY (analog 3 type 2 rev 7) RADIO (manuf 0x17f ver 0x2050 rev 8)
Mar 14 15:16:44 scorpio1 kernel: bwn0: DMA (32 bits)

So, I made the following changes to the rc.conf file:

## Wireless
siba_bwn0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"

Now the system does not hang, but it doesn't bring up the wireless
network either. This is the output from "service netif restart"

Stopping dhclient.
Stopping Network: lo0 em0.
lo0: flags=8048<LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
	groups: lo 
em0: flags=8c02<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
	ether 00:1a:a0:89:ca:e4
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
Starting Network: lo0 em0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
	inet 127.0.0.1 netmask 0xff000000 
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
	groups: lo 
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
	ether 00:1a:a0:89:ca:e4
	inet6 fe80::21a:a0ff:fe89:cae4%em0 prefixlen 64 scopeid 0x1 
	inet6 2606:a000:b7c2:1700:21a:a0ff:fe89:cae4 prefixlen 64 autoconf 
	inet 192.168.0.9 netmask 0xffffff00 broadcast 192.168.0.255 
	nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active


-- 
Carmel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1603150506260.38741>