Re: WiFi b/g/n

2023-11-08 Thread Marco M.
Am 08.11.2023 um 11:04:54 Uhr schrieb William Torrez Corea:

> 06:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless

|A highly integrated, all CMOS combo-chip for 2.4 GHz 802.11n wireless
|local area networks (WLANs) and Bluetooth 4 solution for PC
|applications.

https://www.qualcomm.com/products/internet-of-things/networking/wi-fi-networks/qca9565

You cannot use 5 GHz (nor 60 GHz) because it only support 2.4 GHz.



Re: WiFi b/g/n

2023-11-07 Thread Jeffrey Walton
On Tue, Nov 7, 2023 at 10:16 PM William Torrez Corea
 wrote:
>
> I have WiFi b/g/n (email, browser, streaming, social network) apparently but 
> the device acts like WiFi 1 (email).
>
> Interface: 802.11 WiFi
> Driver: ath9k
> Speed: 60 Mb/s
> Security: WPA/WPA2
> RSSI(dBm): -70
>
> Linux 5.10.0-26-amd64 #1 SMP Debian 5.10.197-1 (2023-09-29) x86_64 GNU/Linux

Turn off the 802.11 a/b protocols at the router. The 'b' protocol is
available in 2.4 GHz networks, and the 'a' protocol is available in
5.0 GHz networks. Both are antique and slow down wifi connections
nowadays. Something like <https://ibb.co/PrLGY5T>. Notice the 2.4 GHz
mode is 802.11 g/n, not 802.11 b/g/n. And the 5/0 GHz mode should be
802.11 n/ac, not 802.11 a/n/ac.

Also see 
<https://blogs.cisco.com/networking/bring-out-yer-dead-5-steps-to-eliminate-802-11b-from-your-networks>.

Jeff



Re: WiFi b/g/n

2023-11-07 Thread Marco M.
Am 07.11.2023 um 17:15:12 Uhr schrieb William Torrez Corea:

> I am using 2.4Ghz, but I can't use 5Ghz. My laptop is outdated
> (Inspiron 14R 5437).

Rund lspci and show the model name of the wireless NIC.



Re: WiFi b/g/n

2023-11-07 Thread Dan Ritter
William Torrez Corea wrote: 
> I have WiFi b/g/n (email, browser, streaming, social network) apparently
> but the device acts like WiFi 1 (email).

802.11b is a maximum of 12Mb/s.

802.11g is a maximum of 54Mb/s.

It is clear from this:

> *Interface*: 802.11 WiFi
> *Driver*: ath9k
> *Speed*: 60 Mb/s
> *Security*: WPA/WPA2
> *RSSI(dBm)*: -70

That your wifi is connecting via 802.11n or later.

Do you have a more specific symptom or issue to report?

-dsr-



Re: Please help configure to activate Bluetooth networking for "Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)" card

2023-10-29 Thread Susmita/Rajib
The instructions on the webpage:
https://github.com/winterheart/broadcom-bt-firmware/blob/master/README.md,
the portion of the note:
https://github.com/winterheart/broadcom-bt-firmware/blob/master/README.md#notes-about-combined-wifibluetooth-devices
may please be perused

The firmware was already in the directory: /lib/firmware/brcm, but
still error messages were read on the terminal. Solved the issue.

There was a simple trick involved:
I had to make the file read-only for all. Then restart the computer.

Now:
# dmesg | grep -i bluetooth # Shows all Bluetooth driver info

Output:
[   29.102165] Bluetooth: Core ver 2.22
[   29.102210] Bluetooth: HCI device and connection manager initialized
[   29.102219] Bluetooth: HCI socket layer initialized
[   29.102224] Bluetooth: L2CAP socket layer initialized
[   29.102230] Bluetooth: SCO socket layer initialized
[  105.688413] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  105.688419] Bluetooth: BNEP filters: protocol multicast
[  105.688426] Bluetooth: BNEP socket layer initialized

# dmesg | grep -i bluetooth | grep -i firmware # Shows Bluetooth firmware issues

Output: None

However, I am still receiving the same error messages for the other
commands as listed  on the post:
https://lists.debian.org/debian-user/2023/10/msg00871.html

I now would need your support to install specific packages and
reconfigure the settings so that I no longer receive the error
messages.

Best wishes



Re: Please help configure to activate Bluetooth networking for "Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)" card

2023-10-29 Thread Susmita/Rajib
Again, I post the following output for the command:
# sudo pkexec dmesg | grep -i "BCM"

Output:
[3.731659] usb 1-4: Product: BCM43142A0
[   17.507884] wlan0: Broadcom BCM4365 802.11 Hybrid Wireless
Controller 6.30.223.271 (r587334)
[   18.939316] Bluetooth: hci0: BCM: chip id 70
[   18.940314] Bluetooth: hci0: BCM: features 0x06
[   18.956242] Bluetooth: hci0: BCM43142A
[   18.956249] Bluetooth: hci0: BCM43142A0 (001.001.011) build 
[   19.175963] bluetooth hci0: firmware: direct-loading firmware
brcm/BCM43142A0-0a5c-216d.hcd
[   19.175977] Bluetooth: hci0: BCM43142A0 'brcm/BCM43142A0-0a5c-216d.hcd' Patch
[   29.429513] Bluetooth: hci0: BCM: Patch command 227b failed (-110)
[   29.431433] Bluetooth: hci0: BCM: Patch failed (-110)
[   39.669304] Bluetooth: hci0: BCM: Reset failed (-110)

On the webpage:
https://github.com/winterheart/broadcom-bt-firmware/blob/master/README.md,
the portion of the note:
https://github.com/winterheart/broadcom-bt-firmware/blob/master/README.md#notes-about-combined-wifibluetooth-devices
 may please be perused:

Some Bluetooth controller (for example, BCM4354 and BCM4356) are
integrated to WiFi chipset (this can be BCM43XX 802.11ac Wireless
Network Adapter or just simple generic Broadcom PCIE Wireless). These
devices requires two kinds of firmware - first for WiFi, and second
for Bluetooth. Without WiFi firmware Bluetooth will not initialize and
will not work properly. Firmware for WiFi already included to kernel,
but you may need to do additional work to place correct NVRAM.

Resolution needed for the above note.

I used the instructions on the Debian page to install the packages:

https://wiki.debian.org/BluetoothUser

I have installed the packages bluetooth, blueman and the rest.
Have the following installed:
blueman
bluetooth
bluez
bluez-obexd
libbluetooth3
connman

I typed on the terminal:
# blue
then used tab. The following applications are installed.
blueman-adapters   blueman-assistant  blueman-report
blueman-services   bluemoon
blueman-applet blueman-managerblueman-sendto blueman-tray
 bluetoothctl

>From the Start Menu/Preferences/Bluetooth Manager, but the tray icon
isn't visible.

Used:
# sudo blueman-services
blueman-services version 2.1.4 starting
root@debianHPRajib:/home/rajib# sudo service bluetooth status
● bluetooth.service - Bluetooth service
 Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled;
vendor preset: enabled)
 Active: active (running) since Sun 2023-10-29 06:41:39 IST; 9h ago
   Docs: man:bluetoothd(8)
   Main PID: 815 (bluetoothd)
 Status: "Running"
  Tasks: 1 (limit: 4566)
 Memory: 1.4M
CPU: 49ms
 CGroup: /system.slice/bluetooth.service
 └─815 /usr/libexec/bluetooth/bluetoothd

Oct 29 06:41:34 debianHPRajib systemd[1]: Starting Bluetooth service...
Oct 29 06:41:35 debianHPRajib bluetoothd[815]: Bluetooth daemon 5.55
Oct 29 06:41:39 debianHPRajib systemd[1]: Started Bluetooth service.
Oct 29 06:41:39 debianHPRajib bluetoothd[815]: Starting SDP server
Oct 29 06:41:40 debianHPRajib bluetoothd[815]: Bluetooth management
interface 1.18 initialized

This is consistently reported as Running.

Then tried: # sudo blueman-assistant
A pop-up says no assistant found

Then:
# sudo blueman-manager
blueman-manager version 2.1.4 starting
blueman-manager 16.17.02 ERRORManager:118 on_dbus_name_appeared:
Default adapter not found, trying first available.
blueman-manager 16.17.02 ERRORManager:122 on_dbus_name_appeared:
No adapter(s) found, exiting

Then tried:
# sudo blueman-adapters
blueman-adapters version 2.1.4 starting
blueman-adapters 16.18.13 ERRORAdapter:53 __init__  : No adapter(s) found

Then tried:
# sudo blueman-applet
blueman-applet version 2.1.4 starting
There is an instance already running

Then tried:
# sudo blueman-tray
blueman-tray version 2.1.4 starting
There is an instance already running

Then tried:
# sudo blueman-services
blueman-services version 2.1.4 starting
A window opens with title: local services and presents options.

Then tried:
# sudo blueman-report
Terminating blueman-applet
Describe your next action (keep empty if done):
Traceback (most recent call last):
  File "/usr/bin/blueman-report", line 57, in 
response = urllib2.urlopen('https://api.github.com/gists',
data.encode('UTF-8')).read()
  File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
  File "/usr/lib/python3.9/urllib/request.py", line 523, in open
response = meth(req, response)
  File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
response = self.parent.error(
  File "/usr/lib/python3.9/urllib/request.py", line 561, in error
return self._call_chain(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)

Re: Please help configure to activate Bluetooth networking for "Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)" card

2023-10-28 Thread Susmita/Rajib
Dear Mr. ullrich, I am so concerned by the Biblical God-like
Commandment of some of the senior members of this mailing list that I
have to ask you a second time: have you meticulously perused all my
posts relating to this problematic hardware?:
"Network controller: Broadcom Inc. and subsidiaries BCM43142
802.11b/g/n (rev 01)" card

The relevant posts begin at:
(1)   https://lists.debian.org/debian-user/2019/10/msg00493.html
(2)   https://lists.debian.org/debian-user/2023/10/msg00452.html
(3)   https://lists.debian.org/debian-user/2023/10/msg00649.html
(4)   https://lists.debian.org/debian-user/2023/10/msg00650.html

Also, I assume you have noted that I still continue to use the
oldstable system:  [Official Debian GNU/Linux Live 11.6.0 lxde
2022-12-17T11:46]/ bullseye

Sometimes I feel that some posters are actually planted here on the
Mailing List, and are heavily paid for their disruptions, by the
Proprietary Universe, to make Free and Open Source users like me lose
hope on the FSF ecosystem, feel frustrated and compel us to return to
the Proprietary Universe, turning away from the FSF/OpenSource system
and the Social Contract.

Then again, there are some who express their goodness and then vanish.
The latter, like Mr. Davidson, Mr. Curt, et al, are the ones who keep
my hope on humanity and the social contract intact. I still believe
that man could admire the best way forward: the positive non-zero sum
cooperative games, if he chose wisely.

You appear to be here since May 2011 in the debian-user ML. So you
appear to be a fairly senior member. Also, it appears that you have
been suggesting module-assistant since Jul 2011, thus experienced in
using module-assistant.

I have installed the m-a package, but not the rest, yet.

I hope that I will hear from you a second time. If I don't, then still ...

Best wishes,
Rajib
Etc.



Re: Please help configure to activate Bluetooth networking for "Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)" card

2023-10-28 Thread Hans
Am Samstag, 28. Oktober 2023, 13:08:21 CEST schrieb Susmita/Rajib:
>  BCM43142A0
Try the following.





Building kernel modue:


1. Install the packages module-assistant, broadcom-sta, broadcom-dkms and 
broadcom-sta-
source

2. start module-assistant, command: m-a

3. In GUI enter  UPDATE

4. In GUI enter  PREPARE 

5. In GUI enter  SELECT

6. In SELECT menu choose broadcom-sta and click ok

7. In GUI enter GET

8. In GUI enter BUILD

9. In GUI enter INSTALL

After finish enter BACK and EXIT.




You will need the firmware. The firmware is distribution independent, so you 
can get it from 
other distributions, like here from AUR:

https://aur.archlinux.org/packages/bcm43142a0-firmware[1]

Get it and put it manually into /lib/firmware





Now try again. Hope this helps.

Best regards

Hans


[1] https://aur.archlinux.org/packages/bcm43142a0-firmware


Re: Please help configure to activate Bluetooth networking for "Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)" card

2023-10-28 Thread Susmita/Rajib
On Wed, 25 Oct 2023 at 08:31, Susmita/Rajib  wrote:
 [ ... ]
> > Install the package firmware-b43-installer and follow the prompts.
> >
> > I'm fairly sure that's all it takes. You may need to uninstall wl
> > and / or any other changes you've made.
> [ ... ]
>
> Ok, I will gradually try to learn about this firmware, 
> "firmware-b43-installer".
[ ... ]


Dear Mr. Cater,

I took time to go through the list/description of Wireless network
cards in the package Description for which the driver   is suitable.
The list is as follows:
...
Supported chipsets:
 * BCM4306/3 (chip revision 3 only);
 * BCM4311 (NOT PCI Id 14e4:4313);
 * BCM4312;
 * BCM43131;
 * BCM4318;
 * BCM4321 (only partial support, not all versions tested);
 * BCM43217;
 * BCM4322 (only partial support for some versions, not all versions tested);
 * BCM43222 (not all versions tested);
 * BCM43224 (not all versions tested);
 * BCM43225;
 * BCM43227;
 * BCM43228;
 * BCM4331;
 * BCM47xx (detection not reliable, may not support all versions).

If observed carefully, the card which my laptop has is:
BCM43142 802.11b/g/n (rev 01)

None of the list-items has the said card mentioned. So I am doubtful
if this driver would even work.

Further, the webpage
https://wireless.wiki.kernel.org/en/users/drivers/b43#contact for the
"firmware-b43-installer"  may please be perused:

On the webpage the list with the following columns has the following
entries for the said chipset:
PCI-ID Supported? Chip ID Modes PHY version Alternative
14e4:4365 no BCM43142 b/g/n LCN40 (r3) wl

So it can be seen that the driver isn't suitable for my laptop's said card.

I again post my query to all Senior Members of the debian-user Mailing List:
If senior members have gone through this ML subject thread, your
experience is invited on the issue.

Once again the detailed dmesg output for the "bluetooth" section for
the said card is at the post:
https://lists.debian.org/debian-user/2023/10/msg00649.html.
Particularly:

# dmesg | grep -i -e "bluetooth"

[191884.268151] Bluetooth: hci0: BCM: chip id 70
[191884.269117] Bluetooth: hci0: BCM: features 0x06
[191884.285185] Bluetooth: hci0: BCM43142A
[191884.285195] Bluetooth: hci0: BCM43142A0 (001.001.011) build 
[191884.286140] bluetooth hci0: firmware: failed to load
brcm/BCM43142A0-0a5c-216d.hcd (-2)
[191884.286161] bluetooth hci0: firmware: failed to load
brcm/BCM-0a5c-216d.hcd (-2)
[191884.286165] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
[191884.286168] Bluetooth: hci0: BCM: 'brcm/BCM43142A0-0a5c-216d.hcd'
[191884.286171] Bluetooth: hci0: BCM: 'brcm/BCM-0a5c-216d.hcd'
[191886.293688] Bluetooth: hci0: command 0x1003 tx timeout
[191886.295091] Bluetooth: hci0: unexpected event for opcode 0x1003

The wifi section works perfectly well.

Therefore, I would again return to my earlier post at:
https://lists.debian.org/debian-user/2023/10/msg00650.html

That is, the thread with the Subject:
Which Network Controller Card handling Wi-Fi, Bluetooth, etc.,
connectivities, is GNU/Linux Approved/certified, and would be (1)
compatible with my HP laptop's motherboard, and (2) could replace the
"Network controller: Broadcom Inc. and subsidiaries BCM43142
802.11b/g/n (rev 01)"

I desire a Debian approved list for perfectly compatible
Wireless-Bluetooth Cards. Like the PCI list, with the heading:
DeviceDatabase/PCI - Debian Wiki
at
https://wiki.debian.org/DeviceDatabase/PCI

Best wishes,
Rajib,
Etc.



Re: Please help configure to activate Bluetooth networking for "Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)" card

2023-10-24 Thread Susmita/Rajib
From: "Andrew M.A. Cater" 
Date: Tue, 24 Oct 2023 17:12:41 +
Message-id: <[] ztf7cq23nikqt...@einval.com>
In-reply-to: <[]
CAEG4cZW87bzq6SMO0HPJAfh+UcgJFEJ=jo6ahbrwecp22yb...@mail.gmail.com>
References: <[]
caeg4czxgp3wqszgsps5erwcvxyf1wdm-mjnbx+ehvybqrr-...@mail.gmail.com>

<[] CAEG4cZW87bzq6SMO0HPJAfh+UcgJFEJ=jo6ahbrwecp22yb...@mail.gmail.com>

Dear Mr. Cater, thank you for your kind reply.

> On Tue, Oct 24, 2023 at 08:19:03PM +0530, Susmita/Rajib wrote:

[ ... ]
> Please ensure that your /etc/apt/sources.list includes entries
> for main contrib and non-free
>
> See, for example, the version for Debian Bullseye (oldstable) in this
> link: https://wiki.debian.org/SourcesList
>
> Then do an apt update ; apt upgrade to bring yourself up to date.

[ ... ]

It was already done, as recorded earlier and elsewhere. So otherwise,
I am ready.


[ ... ]
> Install the package firmware-b43-installer and follow the prompts.
>
> I'm fairly sure that's all it takes. You may need to uninstall wl
> and / or any other changes you've made.
[ ... ]

Ok, I will gradually try to learn about this firmware, "firmware-b43-installer".

[ ... ]
> As the author of the FAQ posting made here every month;
> Please do not post political / nationalistic / controversial
> points here - Debian is worldwide and Bharat nationalism may be
> misplaced as not everyone will appreciate what you are writing.
[ ... ]

Sure.

One note: the correct phrase would be "Inclusive Globalism", not
"Bharatiya Nationalism".

In the said post, as a reply to Mr. Dan Purgert  -'s
post dated: Tue, 24 Oct 2023 07:45:13 -0400, I couldn't help identify
the global anglo-Saxon ploy to enslave the world embedded within his
sentences.

I immediately remembered the information on the "The Creature From
Jekyll Island, G Edward Grifin", "The Tower Of Basel, Adam LaBor",
"Committee Of 300", the "Corporation Of London", et al. I was just
networking the extreme evil that ensues from a trans-generational
scarcity of resources, and my thought flowed to the tropics, where
ample sunlight and rainfall ensured a bewilderingly rich biome with
plenty of diverse foods, merriment and festivals round the year. I
remembered that the public is only 3 meals away from a revolution.
>From there the Maslow-ian hierarchy of needs arrived ... and the rest
 Control, Covid19, planned eradication of global population,
Control of Resources by Global Corporations, End of Freedoms,
including Free air and water ...

Readers interested to know the real story of Bharat could contact for
a text download link.

Best wishes,
Rajib
Etc.



Re: Please help configure to activate Bluetooth networking for "Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)" card

2023-10-24 Thread Andrew M.A. Cater
On Tue, Oct 24, 2023 at 08:19:03PM +0530, Susmita/Rajib wrote:
> From: "Andrew M.A. Cater" 
> Date: Tue, 24 Oct 2023 10:50:48 +
> Message-id: <[] ztehic-dyzpii...@einval.com>
> In-reply-to: <[]
> caeg4czxgp3wqszgsps5erwcvxyf1wdm-mjnbx+ehvybqrr-...@mail.gmail.com>
> 
> Dear Mr. Cater,
> 
> Once again, thank you for your post.
> 
> But Mr. Cater, I would have to request you to appreciate my
> limitations to follow your advice, given the gap in our competence
> levels.
> 

Dear Rajib,

I can't help you because I don't have such a card / chipset.

Please ensure that your /etc/apt/sources.list includes entries 
for main contrib and non-free

See, for example, the version for Debian Bullseye (oldstable) in this
link: https://wiki.debian.org/SourcesList

Then do an apt update ; apt upgrade to bring yourself up to date.

Install the package firmware-b43-installer and follow the prompts.

I'm fairly sure that's all it takes. You may need to uninstall wl
and / or any other changes you've made.

As the author of the FAQ posting made here every month; 
Please do not post political / nationalistic / controversial
points here - Debian is worldwide and Bharat nationalism may be
misplaced as not everyone will appreciate what you are writing.

With every good wish, as ever,

Andy Cater

(amaca...@debian.org)


> But I will try to learn more about b43-fwcutter.
> 
> Fortunately for me, I had opened the casing to check that the said
> wireless network card is inserted into a slot on the motherboard
> internally and could be removed and reinserted.
> 
> So, you could guide me a little further on b43-fwcutter and let us see
> if I could carry the mission a little further.
> 
> Best wishes,
> Rajib
> Etc.
> 



Re: Please help configure to activate Bluetooth networking for "Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)" card

2023-10-24 Thread Susmita/Rajib
From: "Andrew M.A. Cater" 
Date: Tue, 24 Oct 2023 10:50:48 +
Message-id: <[] ztehic-dyzpii...@einval.com>
In-reply-to: <[]
caeg4czxgp3wqszgsps5erwcvxyf1wdm-mjnbx+ehvybqrr-...@mail.gmail.com>

Dear Mr. Cater,

Once again, thank you for your post.

But Mr. Cater, I would have to request you to appreciate my
limitations to follow your advice, given the gap in our competence
levels.

But I will try to learn more about b43-fwcutter.

Fortunately for me, I had opened the casing to check that the said
wireless network card is inserted into a slot on the motherboard
internally and could be removed and reinserted.

So, you could guide me a little further on b43-fwcutter and let us see
if I could carry the mission a little further.

Best wishes,
Rajib
Etc.



Re: Please help configure to activate Bluetooth networking for "Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)" card

2023-10-24 Thread Andrew M.A. Cater
On Tue, Oct 24, 2023 at 02:01:21PM +0530, Susmita/Rajib wrote:
> My dear illustrious Team Leaders and Senior Members, Debian-User
> group, debian-user@lists.debian.org
> 
> I rephrase my earlier question posted at:
> https://lists.debian.org/debian-user/2023/10/msg00452.html
> which didn't receive an insightful reply or guidance. Yes, Mr. Cater
> did advise on B43 series firmware along with his suggestion to update
> and I thank him for that. But I have progressed a bit further than the
> situation I faced then. In the end, if we fail, I will change the
> Wireless Network Card.
> 

Hi Rajib,

I don't think you quite got the point I was making.

wl is one way round the problem. b43-fwcutter is the other, and more usual
way round this problematic Broadcom chipset.

If you go the b43 way, then you need to remove wl, I think.
The catch is that you need network access to download the Broadcom firmware
to make use of b43-fwcutter.

If you're unlucky, the wireless network card may actually be built into
the laptop chipset and not easily able to be changed. You may also find
that HP expect particular models and have deny-listed others.

> Any advice with usual codes and inputs will be welcome.
> 
> 
> The LAN interface is:
> 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE
> PCI Express Fast Ethernet controller (rev 07)
> Subsystem: Hewlett-Packard Company RTL810xE PCI Express Fast Ethernet
> controller
> Flags: bus master, fast devsel, latency 0, IRQ 18
> I/O ports at 4000 [size=256]
> Memory at c070 (64-bit, non-prefetchable) [size=4K]
> Memory at c040 (64-bit, prefetchable) [size=16K]
> Capabilities: [40] Power Management version 3
> Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
> Capabilities: [70] Express Endpoint, MSI 01
> Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
> Capabilities: [d0] Vital Product Data
> Capabilities: [100] Advanced Error Reporting
> Capabilities: [140] Virtual Channel
> Capabilities: [160] Device Serial Number 01-00-00-00-36-4c-e0-00
> Capabilities: [170] Latency Tolerance Reporting
> Kernel driver in use: r8169
> Kernel modules: r8169
> 

This is stock Realtek and should work without a problem.

> However, with the output of # dmesg | grep -i -e "bluetooth"
> 
> [191884.268151] Bluetooth: hci0: BCM: chip id 70
> [191884.269117] Bluetooth: hci0: BCM: features 0x06
> [191884.285185] Bluetooth: hci0: BCM43142A
> [191884.285195] Bluetooth: hci0: BCM43142A0 (001.001.011) build 
> [191884.286140] bluetooth hci0: firmware: failed to load
> brcm/BCM43142A0-0a5c-216d.hcd (-2)
> [191884.286161] bluetooth hci0: firmware: failed to load
> brcm/BCM-0a5c-216d.hcd (-2)
> [191884.286165] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
> [191884.286168] Bluetooth: hci0: BCM: 'brcm/BCM43142A0-0a5c-216d.hcd'
> [191884.286171] Bluetooth: hci0: BCM: 'brcm/BCM-0a5c-216d.hcd'
> [191886.293688] Bluetooth: hci0: command 0x1003 tx timeout
> [191886.295091] Bluetooth: hci0: unexpected event for opcode 0x1003
> 
> 
> So, brcm/BCM-0a5c-216d.hcd firmware isn't working properly.
> 
> I reached the ubuntu thread and the post:
> https://ubuntuforums.org/showthread.php?t=2489817=14156420#post14156420
> talks about the Bluetooth driver brcm.
> 
> I searched the internet with the firmware "BCM-0a5c-216d.hcd" and reached:
> https://wiki.debian.org/BCMHybridBTFirmware#Missing_Firmware_Filename
> 
> Used:
> #pkexec dmidecode -t01
> 
> Outputs:
> # dmidecode 3.3
> Getting SMBIOS data from sysfs.
> SMBIOS 2.8 present.
> 
> Handle 0x0001, DMI type 1, 27 bytes
> System Information
> Manufacturer: Hewlett-Packard
> Product Name: HP Notebook
> Version: Type1ProductConfigId
> Serial Number: **edited**
> UUID: **edited**
> Wake-up Type: Power Switch
> SKU Number: **edited**
> Family: 103C_5335KV G=N L=CON B=HP
> 
> Went to github. Read the page README.md  at:
> https://github.com/winterheart/broadcom-bt-firmware/blob/master/brcm/BCM43142A0-0a5c-216d.hcd
> 
> Instruction raed and followed: "... Place required .hcd file to
> /lib/firmware/brcm ..."
> 
> But there appears to be a problem:
> #sudo dmesg | grep -i -e "bluetooth"
> 
> Outputs:
> [   16.740380] Bluetooth: Core ver 2.22
> [   16.740410] Bluetooth: HCI device and connection manager initialized
> [   16.740414] Bluetooth: HCI socket layer initialized
> [   16.740418] Bluetooth: L2CAP socket layer initialized
> [   16.740423] Bluetooth: SCO socket layer initialized
> [   17.477920] Bluetooth: hci0: B

Please help configure to activate Bluetooth networking for "Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)" card

2023-10-24 Thread Susmita/Rajib
My dear illustrious Team Leaders and Senior Members, Debian-User
group, debian-user@lists.debian.org

I rephrase my earlier question posted at:
https://lists.debian.org/debian-user/2023/10/msg00452.html
which didn't receive an insightful reply or guidance. Yes, Mr. Cater
did advise on B43 series firmware along with his suggestion to update
and I thank him for that. But I have progressed a bit further than the
situation I faced then. In the end, if we fail, I will change the
Wireless Network Card.

Any advice with usual codes and inputs will be welcome.

I have reached the post at https://wiki.debian.org/DeviceDatabase/PCI

The lspci -v for the Wireless Network Interface card is:
04:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43142
802.11b/g/n (rev 01)
Subsystem: Hewlett-Packard Company BCM43142 802.11b/g/n
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at c050 (64-bit, non-prefetchable) [size=32K]
Capabilities: [40] Power Management version 3
Capabilities: [58] Vendor Specific Information: Len=78 
Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [d0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Virtual Channel
Capabilities: [160] Device Serial Number 00-00-b8-ff-ff-dc-ac-d1
Capabilities: [16c] Power Budgeting 
Kernel driver in use: wl
Kernel modules: bcma, wl

The LAN interface is:
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE
PCI Express Fast Ethernet controller (rev 07)
Subsystem: Hewlett-Packard Company RTL810xE PCI Express Fast Ethernet
controller
Flags: bus master, fast devsel, latency 0, IRQ 18
I/O ports at 4000 [size=256]
Memory at c070 (64-bit, non-prefetchable) [size=4K]
Memory at c040 (64-bit, prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 01-00-00-00-36-4c-e0-00
Capabilities: [170] Latency Tolerance Reporting
Kernel driver in use: r8169
Kernel modules: r8169

However, with the output of # dmesg | grep -i -e "bluetooth"

[191884.268151] Bluetooth: hci0: BCM: chip id 70
[191884.269117] Bluetooth: hci0: BCM: features 0x06
[191884.285185] Bluetooth: hci0: BCM43142A
[191884.285195] Bluetooth: hci0: BCM43142A0 (001.001.011) build 
[191884.286140] bluetooth hci0: firmware: failed to load
brcm/BCM43142A0-0a5c-216d.hcd (-2)
[191884.286161] bluetooth hci0: firmware: failed to load
brcm/BCM-0a5c-216d.hcd (-2)
[191884.286165] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
[191884.286168] Bluetooth: hci0: BCM: 'brcm/BCM43142A0-0a5c-216d.hcd'
[191884.286171] Bluetooth: hci0: BCM: 'brcm/BCM-0a5c-216d.hcd'
[191886.293688] Bluetooth: hci0: command 0x1003 tx timeout
[191886.295091] Bluetooth: hci0: unexpected event for opcode 0x1003


So, brcm/BCM-0a5c-216d.hcd firmware isn't working properly.

I reached the ubuntu thread and the post:
https://ubuntuforums.org/showthread.php?t=2489817=14156420#post14156420
talks about the Bluetooth driver brcm.

I searched the internet with the firmware "BCM-0a5c-216d.hcd" and reached:
https://wiki.debian.org/BCMHybridBTFirmware#Missing_Firmware_Filename

Used:
#pkexec dmidecode -t01

Outputs:
# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: Hewlett-Packard
Product Name: HP Notebook
Version: Type1ProductConfigId
Serial Number: **edited**
UUID: **edited**
Wake-up Type: Power Switch
SKU Number: **edited**
Family: 103C_5335KV G=N L=CON B=HP

Went to github. Read the page README.md  at:
https://github.com/winterheart/broadcom-bt-firmware/blob/master/brcm/BCM43142A0-0a5c-216d.hcd

Instruction raed and followed: "... Place required .hcd file to
/lib/firmware/brcm ..."

But there appears to be a problem:
#sudo dmesg | grep -i -e "bluetooth"

Outputs:
[   16.740380] Bluetooth: Core ver 2.22
[   16.740410] Bluetooth: HCI device and connection manager initialized
[   16.740414] Bluetooth: HCI socket layer initialized
[   16.740418] Bluetooth: L2CAP socket layer initialized
[   16.740423] Bluetooth: SCO socket layer initialized
[   17.477920] Bluetooth: hci0: BCM: chip id 70
[   17.478903] Bluetooth: hci0: BCM: features 0x06
[   17.494925] Bluetooth: hci0: ***edited***
[   17.494929] Bluetooth: hci0: BCM43142A0 (001.001.011) build 
[   17.719998] bluetooth hci0: firmware: direct-loadin

Re: ntrollIf Network Controller Chipset handles Wi-Fi, then shouldn't it handle Bluetooth too? Advice required on "Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)" for

2023-10-21 Thread Andrew M.A. Cater
On Sat, Oct 21, 2023 at 08:18:30AM +0530, Susmita/Rajib wrote:
> To,
> The Team User,
> debian-user@lists.debian.org,
> Debian.org
> 
> My dear illustrious Team Leaders,
> 
> Good morning.
> 
> May please my first post at
> https://lists.debian.org/debian-user/2019/10/msg00493.html with the
> subject, "Appears to be a problem with Debian Stretch 9.11.0 regarding
> WAN non-allocation ..." be perused.
> 

Hi Rajib,

> Following the short post by Mr. Curt at:
> https://lists.debian.org/debian-user/2019/10/msg00497.html, a solution
> was found and the Complete Solution was posted at:
> http://forums.debian.net/viewtopic.php?f=7=143930
> 

The above posts don't give much information. As requested beFore, please
don't refer to forum posts without giving the information here on the
mailing list.

> In Brief:
> I used Debian wiki page of wl. Added the sources.list line:
> deb http://deb.debian.org/debian bullseye contrib non-free
> Updated.  Uninstalled broadcom installed package. Installed
> broadcom-sta-dkms package.from synaptic. After the rest steps the
> Wi-Fi worked, and works, perfectly.
> 
> For example:
> 
> (1) # dmesg | grep -e "wl"
> 
> [output]
> [0.00] DMI: Hewlett-Packard HP Notebook/80C4, BIOS F.02 03/24/2015
> [   15.567967] wl: loading out-of-tree module taints kernel.
> [   15.567973] wl: module license 'MIXED/Proprietary' taints kernel.
> [   15.571378] wl: module verification failed: signature and/or
> required key missing - tainting kernel
> [   15.607781] wlan0: Broadcom BCM4365 802.11 Hybrid Wireless
> Controller 6.30.223.271 (r587334)
> [   15.751248] wl :04:00.0 wlp4s0: renamed from wlan0
> [   44.867147] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
> [  436.593766] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
> [ 7107.206153] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
> [10536.901498] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
> [10791.043627] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
> [17994.815848] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
> [/output]
> 

I'm assuming that you are using Debian 11 bullseye.

Check your /etc/apt/sources.list file - I assume that it has main contrib and
non-free.

The usual method of installing broadcom wifi firmware has been to use the
b43-fwcutter package I think. 

e (2) # dmesg | grep -e "bluetooth"
> 
> [output]
> [   17.284222] bluetooth hci0: firmware: failed to load
> brcm/BCM43142A0-0a5c-216d.hcd (-2)
> [   17.284331] bluetooth hci0: firmware: failed to load
> brcm/BCM-0a5c-216d.hcd (-2)
> [ 6815.629661] bluetooth hci0: firmware: failed to load
> brcm/BCM43142A0-0a5c-216d.hcd (-2)
> [ 6815.629675] bluetooth hci0: firmware: failed to load
> brcm/BCM-0a5c-216d.hcd (-2)
> [/output]
> 
> # dmesg | grep -e "broadcom" has not output.
> 
> With my inability to pair my bluetooth headphone following
> instructions at https://wiki.debian.org/BluetoothUser,
> /usr/share/doc/bluez/README.Debian.gz and installing the necessary
> packages, like bluetooth, bluez and blueman my doubt again arises.
> 
> So my Necessary Question: Has the broadcom and wl created a
> conflicting situation?
> 

Possibly, yes. I would suggest getting hold of the broadcom firmware using
the b43 package. For various reasons, the original Broadcom firmware is not
distributable by Debian - the fwcutter downloads a file and extracts the
requisite firmware

You might find it worthwhile to update to Debian 12 bookworm at some point.
The installer includes most firmware and you can adapt the apt/sources.list
to include the non-free firmware repository but I think the B43 series 
firmware can still not be included directly.

> Best wishes,
> Rajib
> Etc.
>

With every good wish,

Andy Cater 



If Network Controller Chipset handles Wi-Fi, then shouldn't it handle Bluetooth too? Advice required on "Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)" for controlli

2023-10-20 Thread Susmita/Rajib
To,
The Team User,
debian-user@lists.debian.org,
Debian.org

My dear illustrious Team Leaders,

Good morning.

May please my first post at
https://lists.debian.org/debian-user/2019/10/msg00493.html with the
subject, "Appears to be a problem with Debian Stretch 9.11.0 regarding
WAN non-allocation ..." be perused.

Following the short post by Mr. Curt at:
https://lists.debian.org/debian-user/2019/10/msg00497.html, a solution
was found and the Complete Solution was posted at:
http://forums.debian.net/viewtopic.php?f=7=143930

In Brief:
I used Debian wiki page of wl. Added the sources.list line:
deb http://deb.debian.org/debian bullseye contrib non-free
Updated.  Uninstalled broadcom installed package. Installed
broadcom-sta-dkms package.from synaptic. After the rest steps the
Wi-Fi worked, and works, perfectly.

For example:

(1) # dmesg | grep -e "wl"

[output]
[0.00] DMI: Hewlett-Packard HP Notebook/80C4, BIOS F.02 03/24/2015
[   15.567967] wl: loading out-of-tree module taints kernel.
[   15.567973] wl: module license 'MIXED/Proprietary' taints kernel.
[   15.571378] wl: module verification failed: signature and/or
required key missing - tainting kernel
[   15.607781] wlan0: Broadcom BCM4365 802.11 Hybrid Wireless
Controller 6.30.223.271 (r587334)
[   15.751248] wl :04:00.0 wlp4s0: renamed from wlan0
[   44.867147] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
[  436.593766] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
[ 7107.206153] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
[10536.901498] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
[10791.043627] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
[17994.815848] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
[/output]

(2) # dmesg | grep -e "bluetooth"

[output]
[   17.284222] bluetooth hci0: firmware: failed to load
brcm/BCM43142A0-0a5c-216d.hcd (-2)
[   17.284331] bluetooth hci0: firmware: failed to load
brcm/BCM-0a5c-216d.hcd (-2)
[ 6815.629661] bluetooth hci0: firmware: failed to load
brcm/BCM43142A0-0a5c-216d.hcd (-2)
[ 6815.629675] bluetooth hci0: firmware: failed to load
brcm/BCM-0a5c-216d.hcd (-2)
[/output]

# dmesg | grep -e "broadcom" has not output.

With my inability to pair my bluetooth headphone following
instructions at https://wiki.debian.org/BluetoothUser,
/usr/share/doc/bluez/README.Debian.gz and installing the necessary
packages, like bluetooth, bluez and blueman my doubt again arises.

So my Necessary Question: Has the broadcom and wl created a
conflicting situation?

Best wishes,
Rajib
Etc.



Re: ntrollIf Network Controller Chipset handles Wi-Fi, then shouldn't it handle Bluetooth too? Advice required on "Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)" for

2023-10-20 Thread Susmita/Rajib
Please DON'T post your reply on this Post. Subject Line Ill-formed.



ntrollIf Network Controller Chipset handles Wi-Fi, then shouldn't it handle Bluetooth too? Advice required on "Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)" for con

2023-10-20 Thread Susmita/Rajib
To,
The Team User,
debian-user@lists.debian.org,
Debian.org

My dear illustrious Team Leaders,

Good morning.

May please my first post at
https://lists.debian.org/debian-user/2019/10/msg00493.html with the
subject, "Appears to be a problem with Debian Stretch 9.11.0 regarding
WAN non-allocation ..." be perused.

Following the short post by Mr. Curt at:
https://lists.debian.org/debian-user/2019/10/msg00497.html, a solution
was found and the Complete Solution was posted at:
http://forums.debian.net/viewtopic.php?f=7=143930

In Brief:
I used Debian wiki page of wl. Added the sources.list line:
deb http://deb.debian.org/debian bullseye contrib non-free
Updated.  Uninstalled broadcom installed package. Installed
broadcom-sta-dkms package.from synaptic. After the rest steps the
Wi-Fi worked, and works, perfectly.

For example:

(1) # dmesg | grep -e "wl"

[output]
[0.00] DMI: Hewlett-Packard HP Notebook/80C4, BIOS F.02 03/24/2015
[   15.567967] wl: loading out-of-tree module taints kernel.
[   15.567973] wl: module license 'MIXED/Proprietary' taints kernel.
[   15.571378] wl: module verification failed: signature and/or
required key missing - tainting kernel
[   15.607781] wlan0: Broadcom BCM4365 802.11 Hybrid Wireless
Controller 6.30.223.271 (r587334)
[   15.751248] wl :04:00.0 wlp4s0: renamed from wlan0
[   44.867147] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
[  436.593766] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
[ 7107.206153] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
[10536.901498] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
[10791.043627] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
[17994.815848] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
[/output]

(2) # dmesg | grep -e "bluetooth"

[output]
[   17.284222] bluetooth hci0: firmware: failed to load
brcm/BCM43142A0-0a5c-216d.hcd (-2)
[   17.284331] bluetooth hci0: firmware: failed to load
brcm/BCM-0a5c-216d.hcd (-2)
[ 6815.629661] bluetooth hci0: firmware: failed to load
brcm/BCM43142A0-0a5c-216d.hcd (-2)
[ 6815.629675] bluetooth hci0: firmware: failed to load
brcm/BCM-0a5c-216d.hcd (-2)
[/output]

# dmesg | grep -e "broadcom" has not output.

With my inability to pair my bluetooth headphone following
instructions at https://wiki.debian.org/BluetoothUser,
/usr/share/doc/bluez/README.Debian.gz and installing the necessary
packages, like bluetooth, bluez and blueman my doubt again arises.

So my Necessary Question: Has the broadcom and wl created a
conflicting situation?

Best wishes,
Rajib
Etc.



Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-20 Thread Tamas Sohamar
Using another search engine is not an option?

On Thu, 21 Sept 2023, 05:55 The Wanderer,  wrote:

> On 2023-09-20 at 16:50, Tom Browder wrote:
>
> > On Wed, Sep 20, 2023 at 13:36 Nicolas George 
> > wrote:
> >
> >> Tom Browder (12023-09-20):
> >>
> >>> What if you used an equilavent script but increased and
> >>> randomized time
> >
> > ...
> >
> >> We can try to exercise some common sense, in particular by
> >> comparing to similar situations. For example, if you take something
> >> that does not belong to you, but do it at night, when everybody is
> >> sleeping and being very careful you do not make a step squeak or
> >> break the laser beams, is it still stealing?
> >
> > I apologize. I was not referring to stealing, and I haven't read the
> > details in the terms of use. What I should have  asked was: "is a
> > single query in the script okay?" If so, how much time would have to
> > pass before the next query in order to adhere to the terms of
> > service?
>
> You'd have to refer to the TOS to be certain, but based on the way
> they've been described here, it isn't a question of amount of time. It's
> the fact that you're applying scripts and automation at all, vs. having
> each search be individually triggered by (and, I suspect, the results
> sent/shown to) a real-person user.
>
> Yes, this is horrific in light of the fact that automation is what
> computers are *for* - but it also makes sense from Google's likely
> perspective, and it's entirely plausible that they might care enough to
> try to detect even minimal amounts of automation.
>
> In principle, it probably *would* be possible to script doing such a
> thing in such a way that it would not be sufficiently distinguishable
> from human access patterns for them to be able to tell. (Varying time
> between accesses almost certainly would not do it; among possibly other
> things, you'd need to specify the accessing program, etc., in a way that
> is doable but not necessarily obvious.)
>
> That said, you'd be taking a gamble that your ability to obfuscate such
> things is better than Google's ability to detect it. Who would you
> prefer to bet on in a competition like that?
>
> --
>The Wanderer
>
> The reasonable man adapts himself to the world; the unreasonable one
> persists in trying to adapt the world to himself. Therefore all
> progress depends on the unreasonable man. -- George Bernard Shaw
>
>


Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-20 Thread The Wanderer
On 2023-09-20 at 16:50, Tom Browder wrote:

> On Wed, Sep 20, 2023 at 13:36 Nicolas George 
> wrote:
> 
>> Tom Browder (12023-09-20):
>> 
>>> What if you used an equilavent script but increased and
>>> randomized time
> 
> ...
> 
>> We can try to exercise some common sense, in particular by
>> comparing to similar situations. For example, if you take something
>> that does not belong to you, but do it at night, when everybody is
>> sleeping and being very careful you do not make a step squeak or
>> break the laser beams, is it still stealing?
> 
> I apologize. I was not referring to stealing, and I haven't read the 
> details in the terms of use. What I should have  asked was: "is a
> single query in the script okay?" If so, how much time would have to
> pass before the next query in order to adhere to the terms of
> service?

You'd have to refer to the TOS to be certain, but based on the way
they've been described here, it isn't a question of amount of time. It's
the fact that you're applying scripts and automation at all, vs. having
each search be individually triggered by (and, I suspect, the results
sent/shown to) a real-person user.

Yes, this is horrific in light of the fact that automation is what
computers are *for* - but it also makes sense from Google's likely
perspective, and it's entirely plausible that they might care enough to
try to detect even minimal amounts of automation.

In principle, it probably *would* be possible to script doing such a
thing in such a way that it would not be sufficiently distinguishable
from human access patterns for them to be able to tell. (Varying time
between accesses almost certainly would not do it; among possibly other
things, you'd need to specify the accessing program, etc., in a way that
is doable but not necessarily obvious.)

That said, you'd be taking a gamble that your ability to obfuscate such
things is better than Google's ability to detect it. Who would you
prefer to bet on in a competition like that?

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-20 Thread Tom Browder
 On Wed, Sep 20, 2023 at 13:36 Nicolas George  wrote:

> Tom Browder (12023-09-20):
> > What if you used an equilavent script but increased and randomized time

...

We can try to exercise some common sense, in particular by comparing to
> similar situations. For example, if you take something that does not
> belong to you, but do it at night, when everybody is sleeping and being
> very careful you do not make a step squeak or break the laser beams, is
> it still stealing?


I apologize. I was not referring to stealing, and I haven't read the
details in the terms of use. What I should have  asked was: "is a single
query in the script okay?" If so, how much time would have to pass before
the next query in order to adhere to the terms of service?

In the distant past I have used Google's APIs to search mail,  and I
believe there was some kind of rate or time limit for their use.

-Tom


Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-20 Thread tomas
On Wed, Sep 20, 2023 at 08:35:54PM +0200, Nicolas George wrote:
> Tom Browder (12023-09-20):
> > What if you used an equilavent script but increased and randomized time
> > between each search string?  Or do you think just the single search is
> > enough to trigger them?
> 
> We can try to exercise some common sense, in particular by comparing to
> similar situations. For example, if you take something that does not
> belong to you, but do it at night, when everybody is sleeping and being
> very careful you do not make a step squeak or break the laser beams, is
> it still stealing? I think most people would consider the answer to the
> question whether what you describes breaks Google's terms of use is the
> same.
> 
> Now, if your interrogation is whether we think you would get away with
> it. Well, as it is roughly equivalent to asking if I think you are
> smarter than the people at Google, I will respectfully decline to
> answer.

Or possibly Google doesn't care /that/ much. Or even possibly they
welcome the degree of lock-in they achieve in "markets" which usually
are beyond their reach (there was a time when Microsoft was definitely
doing this: their license numbers were so easily guessable that it
almost surely wasn't a honest mistake).

Reality is often even messier :)

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-20 Thread Nicolas George
Tom Browder (12023-09-20):
> What if you used an equilavent script but increased and randomized time
> between each search string?  Or do you think just the single search is
> enough to trigger them?

We can try to exercise some common sense, in particular by comparing to
similar situations. For example, if you take something that does not
belong to you, but do it at night, when everybody is sleeping and being
very careful you do not make a step squeak or break the laser beams, is
it still stealing? I think most people would consider the answer to the
question whether what you describes breaks Google's terms of use is the
same.

Now, if your interrogation is whether we think you would get away with
it. Well, as it is roughly equivalent to asking if I think you are
smarter than the people at Google, I will respectfully decline to
answer.

Regards,

-- 
  Nicolas George



Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-20 Thread Tom Browder
On Wed, Sep 20, 2023 at 09:35 Andy Smith  wrote:

> Hello,
>
> On Wed, Sep 20, 2023 at 08:13:43AM +0200, steve wrote:
> > Le 19-09-2023, à 16:52:24 +0200, Nicolas George a écrit :
> > > what you intend is completely forbidden by Google's terms and
> > > service. And they have detection: please only do this on a
> > > computer and network access when you will be the only one
> > > inconvenienced when they block your access. It happened on a
> > > computer I co-administrate.


What if you used an equilavent script but increased and randomized time
between each search string?  Or do you think just the single search is
enough to trigger them?

-Tom


Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-20 Thread steve

Le 20-09-2023, à 08:46:06 +, Andy Smith a écrit :


Hello,

On Wed, Sep 20, 2023 at 08:13:43AM +0200, steve wrote:

Le 19-09-2023, à 16:52:24 +0200, Nicolas George a écrit :
> what you intend is completely forbidden by Google's terms and
> service. And they have detection: please only do this on a
> computer and network access when you will be the only one
> inconvenienced when they block your access. It happened on a
> computer I co-administrate.

Why would it be forbidden, I just want to automate what I could do
manually? Nothing evil in my approach.


Google terms of use forbid mechanization, automation and scraping of
their service. And as Nicolas says, they do check, and they do
punish offenders. At best you'd be hoping that the volume of your
queries falls below their radar. But I wouldn't risk it.

A typical punishment is to require a CAPTCHA be solved for any query
from your netblock to any Google property, which is immensely
annoying.

I have had to terminate my own customers on multiple occasions over
their inability to take this exact issue seriously, because it
really upsets OTHER customers when they suddenly need to solve a
CAPTCHA to do a search query or look at their email.


Thank you very much for this very clear explanation, I didn't know that
(never read those terms of use to be honest).

I ended up doing my searches by hand, it took some time and that's all
right.

Best,

s.



Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-20 Thread Andy Smith
Hello,

On Wed, Sep 20, 2023 at 08:13:43AM +0200, steve wrote:
> Le 19-09-2023, à 16:52:24 +0200, Nicolas George a écrit :
> > what you intend is completely forbidden by Google's terms and
> > service. And they have detection: please only do this on a
> > computer and network access when you will be the only one
> > inconvenienced when they block your access. It happened on a
> > computer I co-administrate.
> 
> Why would it be forbidden, I just want to automate what I could do
> manually? Nothing evil in my approach.

Google terms of use forbid mechanization, automation and scraping of
their service. And as Nicolas says, they do check, and they do
punish offenders. At best you'd be hoping that the volume of your
queries falls below their radar. But I wouldn't risk it.

A typical punishment is to require a CAPTCHA be solved for any query
from your netblock to any Google property, which is immensely
annoying.

I have had to terminate my own customers on multiple occasions over
their inability to take this exact issue seriously, because it
really upsets OTHER customers when they suddenly need to solve a
CAPTCHA to do a search query or look at their email.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-20 Thread steve

Dear all,

Thank you for your answers, unfortunately they don't help me much
(provided code is too complicated for me).


Le 19-09-2023, à 16:52:24 +0200, Nicolas George a écrit :


steve (12023-09-19):

I have a list of 200 keywords and would like for every one to launch a
search on a specific website and put the result(s) in a file, something
like:

search keyword website: example.com >> file.csv

I guess I could code a Python script to do that but if something already
exists I'd rather use it.

Any ideas or links ?


Hi.

If you have access to Google's APIs, then the answer is probably in
their documentation.


I don't.


If not, then what you intend is completely forbidden by Google's terms
and service. And they have detection: please only do this on a computer
and network access when you will be the only one inconvenienced when
they block your access. It happened on a computer I co-administrate.


Why would it be forbidden, I just want to automate what I could do
manually? Nothing evil in my approach.

Have a nice day.

s.



Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-19 Thread Greg Wooledge
On Tue, Sep 19, 2023 at 09:53:25PM -0400, Karl Vogel wrote:
> On Tue, Sep 19, 2023 at 10:42:14AM -0400, steve wrote:
> > I have a list of 200 keywords and would like for every one to launch a
> > search on a specific website and put the result(s) in a file [...]
> 
> Take a list of words and turn it into a single Google query matching any
> of them:
> 
> me% cat keywords
> corsairs
> buccaneers
> privateers
> 
> Desired query:
> 
> https://www.google.com/search?q=corsairs+OR+buccaneers+OR+privateers

It sounds more like steve wanted 200 separate searches, one for each
keyword.  For that, you'd use a very simple loop.

> Script:
> 
> me% cat search
> #!/bin/sh
> export PATH=/usr/local/bin:/bin:/usr/bin
> set -o nounset
> umask 022
> 
> query=$(tr "[:space:]" "+" < keywords |
> sed -e 's/ /+OR+/g' -e 's/+$//' -e 's/+/+OR+/g')
> 
> curl -s -L -o pirate.htm "https://www.google.com/search?q=${query};
> ls -l pirate.htm
> exit 0

Joining a list (array) of strings into a big string is so horribly ugly
in /bin/sh.  Switching to bash buys you so many better options.

#!/bin/bash
mapfile -t words < keywords
printf -v query '%s+OR+' "${words[@]}"
query=${query%+OR+}
curl -s -L -o output.html "https://www.google.com/search?q=$query;

Of course, if you were writing this for publication, you'd want to
URL-encode the keywords themselves, because they might contain spaces,
plus signs, ampersands, etc.



Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-19 Thread Karl Vogel
On Tue, Sep 19, 2023 at 10:42:14AM -0400, steve wrote:
> I have a list of 200 keywords and would like for every one to launch a
> search on a specific website and put the result(s) in a file [...]

Take a list of words and turn it into a single Google query matching any
of them:

me% cat keywords
corsairs
buccaneers
privateers

Desired query:

https://www.google.com/search?q=corsairs+OR+buccaneers+OR+privateers

Script:

me% cat search
#!/bin/sh
export PATH=/usr/local/bin:/bin:/usr/bin
set -o nounset
umask 022

query=$(tr "[:space:]" "+" < keywords |
    sed -e 's/ /+OR+/g' -e 's/+$//' -e 's/+/+OR+/g')

curl -s -L -o pirate.htm "https://www.google.com/search?q=${query};
ls -l pirate.htm
exit 0

Results:

me% ./search
-rw-r--r-- 1 vogelke 220487 19-Sep-2023 21:33:21 pirate.htm

If you want results in text form, lots of programs can do that:

me% lynx -cookies -accept_all_cookies -dump -width 80 pirate.htm
Tampa Bay Buccaneers: Buccaneers Home
www.buccaneers.com
The official source of the latest Bucs headlines, news, videos, photos,
tickets, rosters, stats, schedule and gameday information.
  
People also ask
What is the difference between a pirate and a corsair?
What kind of pirate is a corsair?
What were Spanish pirates called?
What is the history of corsairs?

Pirates, Privateers, Corsairs, Buccaneers: What's the Difference?
www.britannica.com > Demystified > Geography & Travel
Corsairs were essentially privateers, although the term corsair carried
an added religious connotation because the conflict was between Muslim
and Christian...

HTH.

-- 
Karl Vogel  I don't speak for the USAF or my company

Leonardo diCaprio in Titanic: Despite acting like a plank of wood,
he still can't float.  --"Top Ten Most Welcome Movie Deaths", Stylus Magazine



Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-19 Thread Jason

On 19.09.23 16:52, Nicolas George wrote:

If not, then what you intend is completely forbidden by Google's terms
and service. And they have detection: please only do this on a computer
and network access when you will be the only one inconvenienced when
they block your access. It happened on a computer I co-administrate.


I wouldn't query Google directly. They are evil, as already mentioned.

Use an alternative front-end, for example https://searx.be
Source and list of public instances https://github.com/searxng/searxng

cheers
Jason




OpenPGP_0x0D0C34B5DF58FE9D.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-19 Thread DdB
Am 19.09.2023 um 16:41 schrieb steve:
> I guess I could code a Python script to do that but if something already
> exists I'd rather use it.
Really, your wording is very vague and thus, i donno, if i even
understand, what your trying to accomplish.

But from what my phantasies entice, i would maybe use wget to search one
site, eventually modify the output with awk, and parallelize it all for
several websites by the means of GNU parallel, expecting to create a
one-liner for it.

just my 2 cents
DdB



Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-19 Thread Nicolas George
steve (12023-09-19):
> I have a list of 200 keywords and would like for every one to launch a
> search on a specific website and put the result(s) in a file, something
> like:
> 
> search keyword website: example.com >> file.csv
> 
> I guess I could code a Python script to do that but if something already
> exists I'd rather use it.
> 
> Any ideas or links ?

Hi.

If you have access to Google's APIs, then the answer is probably in
their documentation.

If not, then what you intend is completely forbidden by Google's terms
and service. And they have detection: please only do this on a computer
and network access when you will be the only one inconvenienced when
they block your access. It happened on a computer I co-administrate.

Regards,

-- 
  Nicolas George



Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-19 Thread Michael Kjörling
On 19 Sep 2023 16:41 +0200, from dl...@bluewin.ch (steve):
> I have a list of 200 keywords and would like for every one to launch a
> search on a specific website and put the result(s) in a file, something
> like:
> 
> search keyword website: example.com >> file.csv
> 
> I guess I could code a Python script to do that but if something already
> exists I'd rather use it.

Look at pup.

-- 
Michael Kjörling  https://michael.kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”



[a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-19 Thread steve

Hello,

I'm sorry if this question is a bit OT but since the answer will be
implemented from a Debian machine, it's not completely OT :)

I have a list of 200 keywords and would like for every one to launch a
search on a specific website and put the result(s) in a file, something
like:

search keyword website: example.com >> file.csv

I guess I could code a Python script to do that but if something already
exists I'd rather use it.

Any ideas or links ?

Thanks !

s.



Re: [g...@wooledge.org: Re: Fw: locating blocked port]

2023-02-10 Thread Curt
On 2023-02-04, Haines Brown  wrote:
> - Forwarded message from Greg Wooledge  -
>
> Date: Thu, 2 Feb 2023 08:57:30 -0500
> From: Greg Wooledge 
> To: debian-user@lists.debian.org
> Subject: Re: Fw: locating blocked port
>
> I finally managed to get jabref to run. 
>

Your first post's terminal ouput:

 Arguments passed on to running JabRef instance. Shutting down.
***

So as some poor soul who was ignored already pointed out, I'm afraid the
problem as well as its solution was manifest from the very beginning.



[g...@wooledge.org: Re: Fw: locating blocked port]

2023-02-04 Thread Haines Brown
- Forwarded message from Greg Wooledge  -

Date: Thu, 2 Feb 2023 08:57:30 -0500
From: Greg Wooledge 
To: debian-user@lists.debian.org
Subject: Re: Fw: locating blocked port

I finally managed to get jabref to run. 

I looked at waht aprocess was using the PIS as you suggest.

  $ ps -fp 1675
  UIDPID  PPID  C STIME TTY  TIME CMD
  haines1675  1559  0 Feb01 tty1 00:04:36 java -jar 
/usr/local/share/JabRef/JabRef-3.2.jar

I thn kill the process and verify that port 6050 is not being used. 

I then try to start by old version (3.2) of jabref:

  $ java -jar /usr/local/share/JabRef/JabRef-3.2.jar &
  [1] 1867
  haines@lenin:~$ Feb 04, 2023 6:58:02 AM net.sf.jabref.JabRef 
  openBibFile
  INFO: Opening: /home/haines/bibtex/historiography.bib
  Feb 04, 2023 6:58:02 AM net.sf.jabref.importer.OpenDatabaseAction 
loadDatabase
  INFO: Synchronized special fields based on keywords
  Feb 04, 2023 6:58:02 AM net.sf.jabref.JabRef openBibFile
  INFO: Opening: /home/haines/bibtex/history.bib
  Feb 04, 2023 6:58:02 AM net.sf.jabref.importer.OpenDatabaseAction 
loadDatabase
  INFO: Synchronized special fields based on keywords
  Exception in thread "AWT-EventQueue-0" java.lang.Error: Unable to 
  make void java.awt.EventDispatchThread.pumpEvents(>
at 
spin.off.AWTReflectDispatcherFactory.(AWTReflectDispatcherFactory.java:139)
at spin.off.SpinOffEvaluator.(SpinOffEvaluator.java:38)
at spin.Spin.(Spin.java:67)
  ...
 
It seems javref is trying to load two databases but it but it does 
not display. I suspect that is because my jabef is too old.
Neverthesless java owns port 6050 and so I kill the process. I next
load the up to date version of jabref

  $ jabref
  07:06:01.125 [AWT-EventQueue-0] WARN  net.sf.jabref.JabRefGUI - 
There seem to be problems
with OpenJDK and the default GTK Look Using Metal L 
instead. Change to another
L with caution.
  07:06:44.206 [AWT-EventQueue-0] INFO  
net.sf.jabref.logic.importer.OpenDatabase - Opening:
/home/haines/bibtex/historiography.bib
  07:06:47.708 [AWT-EventQueue-0] INFO  
net.sf.jabref.logic.importer.OpenDatabase - Opening:
  /home/haines/bibtex/history.bib

This this time jabref started. I opened three databaes it didn't open 
automatically. Another database it did see. I pyt thst issue aside.

While writing this message jabref crashed and no longer claims 
port 6060. I restarted it and so far it has no crashed. 



On Thu, Feb 02, 2023 at 08:48:43AM -0500, Haines Brown wrote:
> > Now the quetion is, what process is using that port?
> > 
> >$ sudo ss -pt state listening 'sport = :6050'
> >Recv-Q  Send-Q  Local Address:Port   Peer Address:Port  
> >Process
> >0   1   [:::127.0.0.1]:6050  *:*
> >users:(("java",pid=1675,fd=14))
> > 
> > Is java holding that port? Is jabref then trying to use the port 
> > for itself? If so, is this a bug? (I run testing)

> You've got a PID, so the next thing *I* would do is ps -fp 1675



-- 

 Haines Brown 
 /"\
 \ /  ASCII Ribbon Campaign
  Xagainst HTML e-mail 
 / \



Re: difficultes pour faire marcher une carte wifi BCM43142 802.11b/g/n

2022-03-29 Thread David Martin
Salut,

Compile-le toi même en partant des sources.




Le mar. 29 mars 2022 à 15:05, hamster  a écrit :

> Le 29/03/2022 à 14:08, David Martin a écrit :
> > Salut,
> >
> > Tu as testé avec NDISwrapper ?
> > à l'ancienne quoi
>
> NDISwrapper n'est plus disponible dans debian 11.
>
> PS : le propriétaire de l'ordi m'a dit "tant pis pour la carte wifi". Je
> lui rend donc sa machine avec debian fonctionnel mais la wifi dans les
> choux. On saura pas ce qui aurait pu marcher…
>
>

-- 
david martin


Re: difficultes pour faire marcher une carte wifi BCM43142 802.11b/g/n

2022-03-29 Thread hamster

Le 29/03/2022 à 14:08, David Martin a écrit :

Salut,

Tu as testé avec NDISwrapper ?
à l'ancienne quoi


NDISwrapper n'est plus disponible dans debian 11.

PS : le propriétaire de l'ordi m'a dit "tant pis pour la carte wifi". Je 
lui rend donc sa machine avec debian fonctionnel mais la wifi dans les 
choux. On saura pas ce qui aurait pu marcher…




Re: difficultes pour faire marcher une carte wifi BCM43142 802.11b/g/n

2022-03-29 Thread hamster

Le 29/03/2022 à 10:55, didier gaumet a écrit :



Je ne sais pas trop pourquoi ta carte wifi ne marche pas mais au cas
où:
- tu peux désinstaller broadcom-sta-source: sa présence ne fait que
causer un risque de conflit de pilotes si tu construis le module par
accident (c'est un moyen de construire le module du pilote mais
manuellement à chaque changement de version de noyau, tandis que
broadcom-sta-dkms automatise la construction du module à chaque
changement de version de noyau)
- tu peux probablement désinstaller les firmwares broadcom que tu as
installés: je suppose que les firmwares nécessaires sont installés  par
broadcom-sta-dkms vu qu'il s'agit du pilote propriétaire WL de
Broadcom? Du coup installer des firmwares pourrait (au conditionnel)
écraser des firmwares nécessaires et installés par broadcom-sta-dkms.
La procédure d'installation de firmwares que tu as suivie est bénéfique
dans le cas de pilotes libres (ne comprenant pas de firmwares).
- du coup une petite réinstallation de broadcom-sta-dkms pourrait être
utile


C'est essayé, mais ca n'améliore pas.



Re: difficultes pour faire marcher une carte wifi BCM43142 802.11b/g/n

2022-03-29 Thread hamster

Le 28/03/2022 à 23:05, steve a écrit :

Salut,

Tu installes sur quelle machine ?

Il semble me souvenir qu'il y a une histoire de secure-boot qui
bloquerait le wifi sur certaines machines DELL. A voir dans le BIOS pour
désactiver cette « fonctionnalité ».


C'est un ordi toshiba et j'ai déjà désactivé le secure boot.



Re: difficultes pour faire marcher une carte wifi BCM43142 802.11b/g/n

2022-03-29 Thread hamster

Le 28/03/2022 à 23:01, Frederic Zulian a écrit :

Hmm, peut-être devrais-tu tenter cette page-là :

https://wiki.debian.org/fr/bcm43xx 


J'ai déjà vu cette page, j'ai regardé les differents pilotes dont elle 
parle et j'ai vu que la carte qui me pose problème est supportée par wl. 
J'ai donc suivi les indications dans la page dédiée a wl, que j'ai déjà 
citée.




Re: difficultes pour faire marcher une carte wifi BCM43142 802.11b/g/n

2022-03-29 Thread David Martin
Salut,

Tu as testé avec NDISwrapper ?
à l'ancienne quoi


Le lun. 28 mars 2022 à 22:29, hamster  a écrit :

> Salut a tous.
>
> Je suis entrain d'installer debian 11 et j'ai des soucis pour faire
> marcher la carte wifi.
>
> J'ai suivi cette page :
> https://debian-facile.org/doc:materiel:wifi:detecter
>
> J'ai fait :
> apt install firmware-brcm80211
> apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,')
> linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
> broadcom-sta-source
> modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
> modprobe wl
>
> # lspci -nnkd ::0280
> 05:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries
> BCM43142 802.11b/g/n [14e4:4365] (rev 01)
>  Subsystem: XAVi Technologies Corp. BCM43142 802.11b/g/n [1b9a:3002]
>  Kernel driver in use: wl
>  Kernel modules: wl
>
> --> selon la page citée ca existe que le pilote est present, j'ai
> vérifié que cette carte graphique est bien supportée par wl
> https://wiki.debian.org/wl
>
> # ip a
> 1: lo:  mtu 65536 qdisc noqueue state UNKNOWN
> group default qlen 1000
>  link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>  inet 127.0.0.1/8 scope host lo
> valid_lft forever preferred_lft forever
>  inet6 ::1/128 scope host
> valid_lft forever preferred_lft forever
> 2: enp1s0:  mtu 1500 qdisc pfifo_fast
> state UP group default qlen 1000
>  link/ether 00:8c:fa:88:5a:88 brd ff:ff:ff:ff:ff:ff
>  inet 192.168.0.3/24 brd 192.168.0.255 scope global dynamic
> noprefixroute enp1s0
> valid_lft 257803sec preferred_lft 257803sec
>  inet6 fe80::28c:faff:fe88:5a88/64 scope link noprefixroute
> valid_lft forever preferred_lft forever
> 3: wlp5s0:  mtu 1500 qdisc
> pfifo_fast state DORMANT group default qlen 1000
>  link/ether 4c:bb:58:43:86:73 brd ff:ff:ff:ff:ff:ff
>
> --> toujours selon cette page, ca indique que le firmware est présent,
> mais j'ai du mal a etre sur que c'est le bon
>
> Il me reste quand meme des messages d'erreur dans dmesg :
> [   16.774536] bluetooth hci0: firmware: failed to load
> brcm/BCM43142A0-0930-0225.hcd (-2)
> [   16.774633] firmware_class: See https://wiki.debian.org/Firmware for
> information about missing firmware
> [   16.774772] bluetooth hci0: firmware: failed to load
> brcm/BCM-0930-0225.hcd (-2)
> [   16.774840] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
> [   16.774898] Bluetooth: hci0: BCM: 'brcm/BCM43142A0-0930-0225.hcd'
> [   16.774953] Bluetooth: hci0: BCM: 'brcm/BCM-0930-0225.hcd'
>
> Je n'ai pas réussi a trouver le firmware BCM-0930 dans la doc de debian.
>
> La carte wifi ne marche toujours pas. J'ai vérifié qu'il n'y ait pas
> d'interrupteur materiel interdisant son fonctionnement, qu'elle n'est
> pas désactivée dans le BIOS et que le mode avion n'est pas activé.
>
> J'ai pas mal cherché sur le web, je n'ai pas trouvé d'indications
> meilleures que sur la page citée plus haut.
>
> Ne sachant plus quoi faire, je me tourne vers vous. Merci pour vos
> lumières.
>
>

-- 
david martin


Re: difficultes pour faire marcher une carte wifi BCM43142 802.11b/g/n

2022-03-29 Thread didier gaumet



Je ne sais pas trop pourquoi ta carte wifi ne marche pas mais au cas
où:
- tu peux désinstaller broadcom-sta-source: sa présence ne fait que
causer un risque de conflit de pilotes si tu construis le module par
accident (c'est un moyen de construire le module du pilote mais
manuellement à chaque changement de version de noyau, tandis que
broadcom-sta-dkms automatise la construction du module à chaque
changement de version de noyau)
- tu peux probablement désinstaller les firmwares broadcom que tu as
installés: je suppose que les firmwares nécessaires sont installés  par
broadcom-sta-dkms vu qu'il s'agit du pilote propriétaire WL de
Broadcom? Du coup installer des firmwares pourrait (au conditionnel)
écraser des firmwares nécessaires et installés par broadcom-sta-dkms.
La procédure d'installation de firmwares que tu as suivie est bénéfique
dans le cas de pilotes libres (ne comprenant pas de firmwares).
- du coup une petite réinstallation de broadcom-sta-dkms pourrait être
utile




Re: difficultes pour faire marcher une carte wifi BCM43142 802.11b/g/n

2022-03-28 Thread steve

Salut,

Tu installes sur quelle machine ?

Il semble me souvenir qu'il y a une histoire de secure-boot qui
bloquerait le wifi sur certaines machines DELL. A voir dans le BIOS pour
désactiver cette « fonctionnalité ».

Peut-être une piste…



Re: difficultes pour faire marcher une carte wifi BCM43142 802.11b/g/n

2022-03-28 Thread Frederic Zulian
Hmm, peut-être devrais-tu tenter cette page-là :

https://wiki.debian.org/fr/bcm43xx

Essayé et approuvé, mais j'y ai passé pas mal de temps.


Frédéric ZULIAN
--
Pour la santé de votre ordinateur, préférez les logiciels libres.
https://www.april.org/



Le lun. 28 mars 2022 à 22:29, hamster  a écrit :

> Salut a tous.
>
> Je suis entrain d'installer debian 11 et j'ai des soucis pour faire
> marcher la carte wifi.
>
> J'ai suivi cette page :
> https://debian-facile.org/doc:materiel:wifi:detecter
>
> J'ai fait :
> apt install firmware-brcm80211
> apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,')
> linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
> broadcom-sta-source
> modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
> modprobe wl
>
> # lspci -nnkd ::0280
> 05:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries
> BCM43142 802.11b/g/n [14e4:4365] (rev 01)
>  Subsystem: XAVi Technologies Corp. BCM43142 802.11b/g/n [1b9a:3002]
>  Kernel driver in use: wl
>  Kernel modules: wl
>
> --> selon la page citée ca existe que le pilote est present, j'ai
> vérifié que cette carte graphique est bien supportée par wl
> https://wiki.debian.org/wl
>
> # ip a
> 1: lo:  mtu 65536 qdisc noqueue state UNKNOWN
> group default qlen 1000
>  link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>  inet 127.0.0.1/8 scope host lo
> valid_lft forever preferred_lft forever
>  inet6 ::1/128 scope host
> valid_lft forever preferred_lft forever
> 2: enp1s0:  mtu 1500 qdisc pfifo_fast
> state UP group default qlen 1000
>  link/ether 00:8c:fa:88:5a:88 brd ff:ff:ff:ff:ff:ff
>  inet 192.168.0.3/24 brd 192.168.0.255 scope global dynamic
> noprefixroute enp1s0
> valid_lft 257803sec preferred_lft 257803sec
>  inet6 fe80::28c:faff:fe88:5a88/64 scope link noprefixroute
> valid_lft forever preferred_lft forever
> 3: wlp5s0:  mtu 1500 qdisc
> pfifo_fast state DORMANT group default qlen 1000
>  link/ether 4c:bb:58:43:86:73 brd ff:ff:ff:ff:ff:ff
>
> --> toujours selon cette page, ca indique que le firmware est présent,
> mais j'ai du mal a etre sur que c'est le bon
>
> Il me reste quand meme des messages d'erreur dans dmesg :
> [   16.774536] bluetooth hci0: firmware: failed to load
> brcm/BCM43142A0-0930-0225.hcd (-2)
> [   16.774633] firmware_class: See https://wiki.debian.org/Firmware for
> information about missing firmware
> [   16.774772] bluetooth hci0: firmware: failed to load
> brcm/BCM-0930-0225.hcd (-2)
> [   16.774840] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
> [   16.774898] Bluetooth: hci0: BCM: 'brcm/BCM43142A0-0930-0225.hcd'
> [   16.774953] Bluetooth: hci0: BCM: 'brcm/BCM-0930-0225.hcd'
>
> Je n'ai pas réussi a trouver le firmware BCM-0930 dans la doc de debian.
>
> La carte wifi ne marche toujours pas. J'ai vérifié qu'il n'y ait pas
> d'interrupteur materiel interdisant son fonctionnement, qu'elle n'est
> pas désactivée dans le BIOS et que le mode avion n'est pas activé.
>
> J'ai pas mal cherché sur le web, je n'ai pas trouvé d'indications
> meilleures que sur la page citée plus haut.
>
> Ne sachant plus quoi faire, je me tourne vers vous. Merci pour vos
> lumières.
>
>


difficultes pour faire marcher une carte wifi BCM43142 802.11b/g/n

2022-03-28 Thread hamster

Salut a tous.

Je suis entrain d'installer debian 11 et j'ai des soucis pour faire 
marcher la carte wifi.


J'ai suivi cette page :
https://debian-facile.org/doc:materiel:wifi:detecter

J'ai fait :
apt install firmware-brcm80211
apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') 
linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms 
broadcom-sta-source

modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
modprobe wl

# lspci -nnkd ::0280
05:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries 
BCM43142 802.11b/g/n [14e4:4365] (rev 01)

    Subsystem: XAVi Technologies Corp. BCM43142 802.11b/g/n [1b9a:3002]
    Kernel driver in use: wl
    Kernel modules: wl

--> selon la page citée ca existe que le pilote est present, j'ai 
vérifié que cette carte graphique est bien supportée par wl

https://wiki.debian.org/wl

# ip a
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN 
group default qlen 1000

    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
   valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
   valid_lft forever preferred_lft forever
2: enp1s0:  mtu 1500 qdisc pfifo_fast 
state UP group default qlen 1000

    link/ether 00:8c:fa:88:5a:88 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.3/24 brd 192.168.0.255 scope global dynamic 
noprefixroute enp1s0

   valid_lft 257803sec preferred_lft 257803sec
    inet6 fe80::28c:faff:fe88:5a88/64 scope link noprefixroute
   valid_lft forever preferred_lft forever
3: wlp5s0:  mtu 1500 qdisc 
pfifo_fast state DORMANT group default qlen 1000

    link/ether 4c:bb:58:43:86:73 brd ff:ff:ff:ff:ff:ff

--> toujours selon cette page, ca indique que le firmware est présent, 
mais j'ai du mal a etre sur que c'est le bon


Il me reste quand meme des messages d'erreur dans dmesg :
[   16.774536] bluetooth hci0: firmware: failed to load 
brcm/BCM43142A0-0930-0225.hcd (-2)
[   16.774633] firmware_class: See https://wiki.debian.org/Firmware for 
information about missing firmware
[   16.774772] bluetooth hci0: firmware: failed to load 
brcm/BCM-0930-0225.hcd (-2)

[   16.774840] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
[   16.774898] Bluetooth: hci0: BCM: 'brcm/BCM43142A0-0930-0225.hcd'
[   16.774953] Bluetooth: hci0: BCM: 'brcm/BCM-0930-0225.hcd'

Je n'ai pas réussi a trouver le firmware BCM-0930 dans la doc de debian.

La carte wifi ne marche toujours pas. J'ai vérifié qu'il n'y ait pas 
d'interrupteur materiel interdisant son fonctionnement, qu'elle n'est 
pas désactivée dans le BIOS et que le mode avion n'est pas activé.


J'ai pas mal cherché sur le web, je n'ai pas trouvé d'indications 
meilleures que sur la page citée plus haut.


Ne sachant plus quoi faire, je me tourne vers vous. Merci pour vos lumières.



Re: Debian recompilé avec -O2 -g

2022-03-07 Thread Étienne Mollier
Bonsoir Basile,

Basile Starynkevitch, on 2022-03-07:
> Pour divers projets logiciels libres (dont http://refpersys.org/ qui utilise
> la libbacktrace <https://github.com/ianlancetaylor/libbacktrace> de Ian L.
> Taylor ...) je rêve d'un Debian testing x86-64 dont tyous les programmes et
> librairies ont été compilés avec les infor DWARF de debugging. Donc avec gcc
> -02 -g
> 
> Est-ce que ça existe? Ou bien comment recompiler tout Debian avec*-O2 -g*

Oui, la majorité des paquets debian sont compilés avec (entre
autres fanions) -g et -O2.  Les binaires résultants sont
utilisés tels quels pour construire les paquets avec symboles de
débogage, et ensuite sont nettoyés avec (dh_)strip pour
construire les paquets binaires classiques.

Les paquets avec symboles de débogage sont disponibles dans un
dépôt auxiliaire pour économiser l'espace disque et la bande
passante des miroirs [1].  Alternativement, il est possible de
charger dynamiquement les symboles de débogage en passant par le
serveur debuginfod du projet [2].

[1] : https://wiki.debian.org/SourcesList#Debug_Symbol_Packages
[2] : https://wiki.debian.org/Debuginfod

Bonne soirée,  :)
-- 
Étienne Mollier 
Fingerprint:  8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/pts/2, please excuse my verbosity.
On air: Ayreon - The First Man on Earth


signature.asc
Description: PGP signature


Debian recompilé avec -O2 -g

2022-03-07 Thread Basile Starynkevitch

Bonsoir,


Pour divers projets logiciels libres (dont http://refpersys.org/ qui 
utilise la libbacktrace <https://github.com/ianlancetaylor/libbacktrace> 
de Ian L. Taylor ...) je rêve d'un Debian testing x86-64 dont tyous les 
programmes et librairies ont été compilés avec les infor DWARF de 
debugging. Donc avec gcc -02 -g



Est-ce que ça existe? Ou bien comment recompiler tout Debian avec*-O2 -g*

*
*

Merci de vos lumières

--
Basile Starynkevitch
(only mine opinions / les opinions sont miennes uniquement)
92340 Bourg-la-Reine, France
web page: starynkevitch.net/Basile/


Re: installation debian 10.10.0 sur Dynabook Satellite Pro L50-G-103

2021-07-23 Thread didier gaumet



Le vendredi 23 juillet 2021 à 16:50 +0200, Thomas Trupel a écrit :
>  Bonjour,
>  
>  Merci pour vos retours, j'ai enfin réussi à booter Debian (j'ai
> encore un problème au démarrage de Debian : écran noir avec le
> curseur qui clignote, peut-être que le GPU Intel UHD Graphics 620
> n'est pas supporté).

je peux te rassurer sur ce point, c'est le chipset graphique de mon
laptop: il te manque probablement le paquet firmware-misc-nonfree
(quand l'installation en mode graphique se passe bien on a l'impression
trompeuse que le chipset est pris en charge via un pilote adéquat alors
que l'installation se déroule avec un pilote VESA, si je me souviens
bien).

D'une manière générale 
$ sudo journalctl -xb | grep -i firmware | less
te listera les appels du système à des firmwares, qu'ils aient été ou
non couronnés de succès. Ceux en échec t'indiquent les fichiers à
récupérer. Pour chaque fichier manquant, tu fais un
$ apt-file search nom-du-fichier
pour savoir quel paquet installer

>  @Didier, la copie que tu suggères n'a pas fonctionné.
[...]

pas de bol ;-)




Re: installation debian 10.10.0 sur Dynabook Satellite Pro L50-G-103

2021-07-23 Thread Thomas Trupel

Bonjour,

Merci pour vos retours, j'ai enfin réussi à booter Debian (j'ai encore 
un problème au démarrage de Debian : écran noir avec le curseur qui 
clignote, peut-être que le GPU Intel UHD Graphics 620 n'est pas supporté).


@Didier, la copie que tu suggères n'a pas fonctionné.

@Georges, JH, la piste "Microsoft" était la bonne, il semble que le 
firmware UEFI de mon PC soit configuré pour lancer uniquement le loader 
"/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi". Après avoir créé les 
dossiers /boot/efi/EFI/Microsoft et /boot/efi/EFI/Microsoft/Boot j'ai 
copié le grubx64.efi : "cp /boot/efi/EFI/debian/grubx64.efi 
/boot/efi/EFI/Microsoft/Boot/bootmgw.efi". Et là...tada... j'ai réussi à 
booter sur Debian !


Le firmware UEFI de mon PC semble donc être une bien pauvre 
implémentation d'UEFI 
(https://www.rodsbooks.com/refind/installing.html#naming 
). Vous aurez 
compris que je suis déçu par ce PC et que je ne le recommande pas.


Merci à tous pour votre aide,
Thomas Trupel


On 23/07/2021 00:02, jhcha54008 wrote:

Bonsoir,

Je me demande si le fil de discussion suivant
(certes pour un modèle différent) pourrait
donner une piste pour trouver une solution :

https://forum.ubuntu-fr.org/viewtopic.php?id=2052532

(Je ne suis pas en situation de tester par moi-même
cette piste).

Bon courage !

Cordialement,
JH Chatenet


installation debian 10.10.0 sur Dynabook Satellite Pro L50-G-103

2021-07-22 Thread jhcha54008
Bonsoir,

Je me demande si le fil de discussion suivant
(certes pour un modèle différent) pourrait
donner une piste pour trouver une solution :

https://forum.ubuntu-fr.org/viewtopic.php?id=2052532

(Je ne suis pas en situation de tester par moi-même
cette piste).

Bon courage !

Cordialement,
JH Chatenet



Re: installation debian 10.10.0 sur Dynabook Satellite Pro L50-G-103

2021-07-22 Thread didier gaumet



Le mercredi 21 juillet 2021 à 16:59 +0200, Thomas Trupel a écrit :
[...]
> @Didier, il y a bien ce qu'il faut dans les dossiers
> /boot/efi/EFI/BOOT et /boot/efi/EFI/debian
[...]

As-tu effectué la copie que je te suggérais?

/boot/efi/EFI/bootx64.efi, l'entrée par défaut, me semble souvent un
enrobage par le constructeur du PC dont la fonction est de lancer
l'entrée Windows ou d'accéder à des fonctions de restauration ou remise
au spécifications usine. Le but étant pour le constructeur de
privilégier cette entrée pour que l'utilisateur ne puisse pas foutre
son système en l'air. ça permet de repartir d'une partition créée pour
cela même si l'utilisateur a mis en l'air son Windows au-delà de toute
réparation. Mais en vidant tes disques, tu as supprimmé non seulement
la partition ordinaire windows mais la partition "de sauvetage" du
constructeur.

Donc je n'ai pas fait ça récemment mais à l'époque où Debian ne gérait
pas le Secure Boot et où la gestion de l'UEFI dans Debian était encore
jeune, je me souviens avoir copié grubx64.efi à la place de bootx64.efi
(en le renommant bootx64.efi) et ça fonctionnait, c'était plus ou moins
la procédure recommandée en cas de pépin, je crois...

Bon courage, en tout cas :-)





Re: installation debian 10.10.0 sur Dynabook Satellite Pro L50-G-103

2021-07-21 Thread Gaëtan Perrier
Le mardi 20 juillet 2021 à 07:34 +0200, Thomas Trupel a écrit :
> Bonjour,
> 
> En voulant renouveler mon PC portable et en même temps passer 
> définitivement à Linux, j'ai fait l'acquisition d'un PC portable 
> Dynabook Satellite Pro L50-G-103... bien mal m'en a pris !
> Dès sa réception je me suis empressé d'insérer une clé USB bootable 
> (avec l'image firmware-10.10.0-amd64-DVD-1.iso dessus via 
> rufus-3.10p.exe) et j'ai lancé l'installation de Debian.
> Voulant me débarrasser définitivement de Windows, j'ai reformaté les 
> deux espaces de stockage du PC (HDD + SDD) et j'ai sélectionné le SDD 
> pour l'installation de Debian.
> 
> L'installation s'est bien déroulée mais je n'ai jamais réussi à booter 
> sur Debian...
> Après quelques tests avec un live CD Ubuntu, j'ai constaté que la 
> variable UEFI BootOrder est écrasée par le firmware UEFI du PC à chaque 
> redémarrage...
> Que me conseillez-vous avant d'abandonner ?
> 
> Cordialement,
> Thomas Trupel
> 

A chaque fois que j'ai eu des problèmes de ce genre, j'ai utilisé refind
(https://www.rodsbooks.com/refind/ ) et ça a résolu le problème.

Gaëtan



signature.asc
Description: This is a digitally signed message part


Re: installation debian 10.10.0 sur Dynabook Satellite Pro L50-G-103

2021-07-21 Thread Thomas Trupel

Bonjour,

Merci pour vos retours,

@Didier, il y a bien ce qu'il faut dans les dossiers /boot/efi/EFI/BOOT 
et /boot/efi/EFI/debian (voir photo "dossier-boot"). Le PC a bien deux 
touches système : F2 pour accéder au paramétrage du firmware UEFI et F12 
pour accéder au menu de boot du firmware UEFI. Les deux touches 
permettent d'accéder au menu de boot du firmware UEFI mais aucune entrée 
n'apparaît dans ce menu (voir photo menu-boot-uefi).
dossier-boot.jpg 

menu-boot-uefi.jpg 



@Erwan, cette option (mode AHCI) n'est pas disponible dans le 
paramétrage UEFI.


@Georges, merci pour le tuyau, je vais tenter d'installer rEFInd.

Cordialement,
Thomas Trupel

On 20/07/2021 20:13, didier gaumet wrote:

Le mardi 20 juillet 2021 à 15:31 +0200, Thomas Trupel a écrit :
[...]

@Frédéric, au redémarrage j'obtiens l'erreur "Default Boot Device
Missing or Boot Failed".

A priori il manque ce qu'il faut dans le dossier /boot/efi/EFI/Boot de
ton nouveau système

vérifie ce que tu as dans le dossier /boot/efi/EFI:

chez moi (Bullseye, mais Buster devrait réagir identiquement):
didier@hp-notebook14:~$ sudo ls /boot/efi/EFI
[sudo] Mot de passe de didier :
Boot  debian  Microsoft  opensuse
didier@hp-notebook14:~$ sudo ls /boot/efi/EFI/Boot
bootx64.efi
didier@hp-notebook14:~$ sudo ls -al /boot/efi/EFI/Boot
total 1532
drwx-- 2 root root4096 26 nov.   2020 .
drwx-- 6 root root4096 26 nov.   2020 ..
-rwx-- 1 root root 1558840 16 juil. 19:29 bootx64.efi
didier@hp-notebook14:~$ sudo ls -al /boot/efi/EFI/Debian
total 3484
drwx-- 3 root root4096  8 juin  14:07 .
drwx-- 6 root root4096 26 nov.   2020 ..
-rwx-- 1 root root 108  9 juil. 09:06 BOOTX64.CSV
-rwx-- 1 root root   84648  9 juil. 09:06 fbx64.efi
drwx-- 2 root root4096 22 mai   07:52 fw
-rwx-- 1 root root 112  9 juil. 09:06 grub.cfg
-rwx-- 1 root root 1672576  9 juil. 09:06 grubx64.efi
-rwx-- 1 root root  845480  9 juil. 09:06 mmx64.efi
-rwx-- 1 root root  934240  9 juil. 09:06 shimx64.efi

tu devrais pouvoir forcer une fois pour toutes le démarrage de Debian
par défaut:
renomme d'abord (à tout hasard, pour ne pas le perdre)
/boot/efi/EFI/Boot/bootx64.efi en /boot/efi/EFI/Boot/old.efi, puis
copie /boot/efi/EFI/Debian/shimx64.efi vers
/boot/efi/EFI/Boot/bootx64.efi

redémarre et vérifie si le menu Grub apparaît


  Le PC ne boot sur rien mis à part ma clé USB bootable. J'ai accès au
Bios UEFI mais je n'ai pas la possibilité de sélectionner le boot
loader Debian "\EFI\debian\shimx64.efi".
J'arrive à modifier le bootOrder avec efibootmgr mais ma modification
n'est pas prise en compte. La variable est écrasée à chaque
redémarrage par le firmware UEFI.

Normalement au boot du PC en appuyant sur une touche système (F9, F10,
etc... ça dépend de ton PC) tu as accès non pas au paramétrage de
l'UEFI mais au choix de l'entrée UEFI à lancer. Si tu ne trouves pas
une entrée appelée "Debian", elle peut être cachée dans une entrée au
nom compliqué qui correspond au disque sur lequel se trouve Debian, il
faut alors sléctionner cette entrée et navigeuer dans les répertoires
jusqu'à /boot/efi/EFI/Debian pour sélectionner et lancer shimx64.efi






Re: installation debian 10.10.0 sur Dynabook Satellite Pro L50-G-103

2021-07-20 Thread didier gaumet



Le mardi 20 juillet 2021 à 15:31 +0200, Thomas Trupel a écrit :
[...]
> @Frédéric, au redémarrage j'obtiens l'erreur "Default Boot Device 
> Missing or Boot Failed".

A priori il manque ce qu'il faut dans le dossier /boot/efi/EFI/Boot de
ton nouveau système

vérifie ce que tu as dans le dossier /boot/efi/EFI:

chez moi (Bullseye, mais Buster devrait réagir identiquement):
didier@hp-notebook14:~$ sudo ls /boot/efi/EFI
[sudo] Mot de passe de didier : 
Boot  debian  Microsoft  opensuse
didier@hp-notebook14:~$ sudo ls /boot/efi/EFI/Boot
bootx64.efi
didier@hp-notebook14:~$ sudo ls -al /boot/efi/EFI/Boot
total 1532
drwx-- 2 root root4096 26 nov.   2020 .
drwx-- 6 root root4096 26 nov.   2020 ..
-rwx-- 1 root root 1558840 16 juil. 19:29 bootx64.efi
didier@hp-notebook14:~$ sudo ls -al /boot/efi/EFI/Debian
total 3484
drwx-- 3 root root4096  8 juin  14:07 .
drwx-- 6 root root4096 26 nov.   2020 ..
-rwx-- 1 root root 108  9 juil. 09:06 BOOTX64.CSV
-rwx-- 1 root root   84648  9 juil. 09:06 fbx64.efi
drwx-- 2 root root4096 22 mai   07:52 fw
-rwx-- 1 root root 112  9 juil. 09:06 grub.cfg
-rwx-- 1 root root 1672576  9 juil. 09:06 grubx64.efi
-rwx-- 1 root root  845480  9 juil. 09:06 mmx64.efi
-rwx-- 1 root root  934240  9 juil. 09:06 shimx64.efi

tu devrais pouvoir forcer une fois pour toutes le démarrage de Debian
par défaut:
renomme d'abord (à tout hasard, pour ne pas le perdre)
/boot/efi/EFI/Boot/bootx64.efi en /boot/efi/EFI/Boot/old.efi, puis
copie /boot/efi/EFI/Debian/shimx64.efi vers
/boot/efi/EFI/Boot/bootx64.efi

redémarre et vérifie si le menu Grub apparaît

>  Le PC ne boot sur rien mis à part ma clé USB bootable. J'ai accès au
> Bios UEFI mais je n'ai pas la possibilité de sélectionner le boot
> loader Debian "\EFI\debian\shimx64.efi".
> J'arrive à modifier le bootOrder avec efibootmgr mais ma modification
> n'est pas prise en compte. La variable est écrasée à chaque
> redémarrage par le firmware UEFI.

Normalement au boot du PC en appuyant sur une touche système (F9, F10,
etc... ça dépend de ton PC) tu as accès non pas au paramétrage de
l'UEFI mais au choix de l'entrée UEFI à lancer. Si tu ne trouves pas
une entrée appelée "Debian", elle peut être cachée dans une entrée au
nom compliqué qui correspond au disque sur lequel se trouve Debian, il
faut alors sléctionner cette entrée et navigeuer dans les répertoires
jusqu'à /boot/efi/EFI/Debian pour sélectionner et lancer shimx64.efi






Re: installation debian 10.10.0 sur Dynabook Satellite Pro L50-G-103

2021-07-20 Thread Erwan DAVID

Le 20 juillet 2021 15:32:30 Thomas Trupel  a écrit :


Merci pour vos retours,

@Bernard, je viens d'essayer une installation via une image net-install
et j'obtiens le même résultat : l'installation se termine et invite au
redémarrage. En redémarrant, le firmware UEFI ne trouve pas Debian :
"Default Boot Device Missing or Boot Failed" . En démarrant le Rescue
mode depuis ma clé USB bootable, j'observe bien une boot entry pour
Debian (via la commande efibootmgr -v) mais cette boot entry n'est pas
présente dans bootOrder. Toujours en Rescue mode j'essaye l'option
"Force GRUB instalation to the EFI removable media path", je constate la
modification du bootOrder suite à cette action, mais en redémarrant
j'obtiens la même erreur UEFI. De retour dans le rescue mode, je
constate que le bootOrder a été modifié et ne contient plus la boot
entry pour Debian. J'en conclu que le firmware UEFI de mon PC écrase
cette variable à chaque redémarrage...

@Didier, la partition EFI a bien été créée par l'installateur Debian
après l'effacement des disques : j'ai choisi le partitionnement
automatique. L'UEFI de mon PC est très basique il ne me permet pas de
choisir le gestionnaire de boot à activer.

@Frédéric, au redémarrage j'obtiens l'erreur "Default Boot Device
Missing or Boot Failed". Le PC ne boot sur rien mis à part ma clé USB
bootable. J'ai accès au Bios UEFI mais je n'ai pas la possibilité de
sélectionner le boot loader Debian "\EFI\debian\shimx64.efi". J'arrive à
modifier le bootOrder avec efibootmgr mais ma modification n'est pas
prise en compte. La variable est écrasée à chaque redémarrage par le
firmware UEFI.

Cordialement,
Thomas Trupel


On 20/07/2021 14:30, Frédéric BOITEUX wrote:

Bonjour,

   Ce serait dommage d'abandonner si près du but ! L'installation de Linux est 
   la phase la plus délicate, et souvent la plus pénible pour un débutant, et 
   il faut dire que les BIOS UEFI n'ont pas forcément arrangé les choses…


Pour votre problème, que se passe-t-il après le redémarrage de la machine ? 
démarre-t-il sur quelque chose (a priori non vu qu'il ne doit plus y avoir 
que Debian) ? Avez-vous accès au Bios UEFI ? Est-il possible de démarrer au 
moins une fois à travers lui ?
Je ne suis pas trop spécialiste de l'UEFI, mais il me semble que si on peut 
avoir accès au système (via le BIOS ou via un système de dépannage), il 
doit être possible de corriger le système de démarrage avec la commande 
efibootmgr…


Il pourrait être également intéressant de tester l'installation de la [très 
prochaine] Debian 11 Bullseye, peut-être que son mécanisme d'installation 
est plus récent et mieux adapté à votre ordinateur…



Cdlt,
Fred.




Sur certains laptop dell il faut configurer (dans le BIOS/firmware) le 
disque en mode AHCI et pas Raid. Peut-être quelque chose du même genre ?


--
Erwan David


Re: installation debian 10.10.0 sur Dynabook Satellite Pro L50-G-103

2021-07-20 Thread Georges
 Bonjour,

 J'ai changé mon portable sans OS de 5/6 ans pour un portable sans OS
 nouveau. Donc avec le "diable" UEFI.

 Mon histoire ci-dessous ;-)


 Le Tue, 20 Jul 2021 07:34:18 +0200,

TT a écrit :

> Bonjour,
> 
> En voulant renouveler mon PC portable et en même temps passer 
> définitivement à Linux, j'ai fait l'acquisition d'un PC portable 
> Dynabook Satellite Pro L50-G-103... bien mal m'en a pris !
> Dès sa réception je me suis empressé d'insérer une clé USB bootable 
> (avec l'image firmware-10.10.0-amd64-DVD-1.iso dessus via 
> rufus-3.10p.exe) et j'ai lancé l'installation de Debian.
> Voulant me débarrasser définitivement de Windows, j'ai reformaté les 
> deux espaces de stockage du PC (HDD + SDD) et j'ai sélectionné le SDD 
> pour l'installation de Debian.
> 
> L'installation s'est bien déroulée mais je n'ai jamais réussi à
> booter sur Debian...
> Après quelques tests avec un live CD Ubuntu, j'ai constaté que la 
> variable UEFI BootOrder est écrasée par le firmware UEFI du PC à
> chaque redémarrage...
> Que me conseillez-vous avant d'abandonner ?
> 
> Cordialement,
> Thomas Trupel
> 

  Mon histoire avec UEFI 

 Si je n'avais pas trouvé www.rodsbooks.com/refind/ je n'y serais
 jamais arrivé.
 Il à demandé de créer une partition fat32 /boot/efi 699 Mio boot espace
 bios
 grub
 Il à demandé de créer une partition BIOS BOOT inconnu 1Mio  bios grub

 Et sa à marché

 Sa doit pouvoir marcher avec un portable préconfiguré W$.

 Bonne chance
-- 
  Georges 



Re: installation debian 10.10.0 sur Dynabook Satellite Pro L50-G-103

2021-07-20 Thread Thomas Trupel

Merci pour vos retours,

@Bernard, je viens d'essayer une installation via une image net-install 
et j'obtiens le même résultat : l'installation se termine et invite au 
redémarrage. En redémarrant, le firmware UEFI ne trouve pas Debian : 
"Default Boot Device Missing or Boot Failed" . En démarrant le Rescue 
mode depuis ma clé USB bootable, j'observe bien une boot entry pour 
Debian (via la commande efibootmgr -v) mais cette boot entry n'est pas 
présente dans bootOrder. Toujours en Rescue mode j'essaye l'option 
"Force GRUB instalation to the EFI removable media path", je constate la 
modification du bootOrder suite à cette action, mais en redémarrant 
j'obtiens la même erreur UEFI. De retour dans le rescue mode, je 
constate que le bootOrder a été modifié et ne contient plus la boot 
entry pour Debian. J'en conclu que le firmware UEFI de mon PC écrase 
cette variable à chaque redémarrage...


@Didier, la partition EFI a bien été créée par l'installateur Debian 
après l'effacement des disques : j'ai choisi le partitionnement 
automatique. L'UEFI de mon PC est très basique il ne me permet pas de 
choisir le gestionnaire de boot à activer.


@Frédéric, au redémarrage j'obtiens l'erreur "Default Boot Device 
Missing or Boot Failed". Le PC ne boot sur rien mis à part ma clé USB 
bootable. J'ai accès au Bios UEFI mais je n'ai pas la possibilité de 
sélectionner le boot loader Debian "\EFI\debian\shimx64.efi". J'arrive à 
modifier le bootOrder avec efibootmgr mais ma modification n'est pas 
prise en compte. La variable est écrasée à chaque redémarrage par le 
firmware UEFI.


Cordialement,
Thomas Trupel


On 20/07/2021 14:30, Frédéric BOITEUX wrote:

Bonjour,

   Ce serait dommage d'abandonner si près du but ! L'installation de Linux est 
la phase la plus délicate, et souvent la plus pénible pour un débutant, et il 
faut dire que les BIOS UEFI n'ont pas forcément arrangé les choses…

Pour votre problème, que se passe-t-il après le redémarrage de la machine ? 
démarre-t-il sur quelque chose (a priori non vu qu'il ne doit plus y avoir que 
Debian) ? Avez-vous accès au Bios UEFI ? Est-il possible de démarrer au moins 
une fois à travers lui ?
Je ne suis pas trop spécialiste de l'UEFI, mais il me semble que si on peut 
avoir accès au système (via le BIOS ou via un système de dépannage), il doit 
être possible de corriger le système de démarrage avec la commande efibootmgr…

Il pourrait être également intéressant de tester l'installation de la [très 
prochaine] Debian 11 Bullseye, peut-être que son mécanisme d'installation est 
plus récent et mieux adapté à votre ordinateur…


Cdlt,
Fred.






RE: installation debian 10.10.0 sur Dynabook Satellite Pro L50-G-103

2021-07-20 Thread Frédéric BOITEUX
Bonjour,

  Ce serait dommage d'abandonner si près du but ! L'installation de Linux est 
la phase la plus délicate, et souvent la plus pénible pour un débutant, et il 
faut dire que les BIOS UEFI n'ont pas forcément arrangé les choses…

Pour votre problème, que se passe-t-il après le redémarrage de la machine ? 
démarre-t-il sur quelque chose (a priori non vu qu'il ne doit plus y avoir que 
Debian) ? Avez-vous accès au Bios UEFI ? Est-il possible de démarrer au moins 
une fois à travers lui ?
Je ne suis pas trop spécialiste de l'UEFI, mais il me semble que si on peut 
avoir accès au système (via le BIOS ou via un système de dépannage), il doit 
être possible de corriger le système de démarrage avec la commande efibootmgr…

Il pourrait être également intéressant de tester l'installation de la [très 
prochaine] Debian 11 Bullseye, peut-être que son mécanisme d'installation est 
plus récent et mieux adapté à votre ordinateur…


Cdlt,
Fred.




Re: installation debian 10.10.0 sur Dynabook Satellite Pro L50-G-103

2021-07-20 Thread didier gaumet


bonjour,

Si tu as effacé totalement tes disques, tu as détruit la partition EFI:
une autre a-t-elle été recrée (indispensable avec de l'UEFI pur)? Si tu
as partitionné manuellement avant ou pendant l'installation sans créer
cette partition UEFI, il est possible que l'installateur Debian
considère que tu sais ce que tu fais (je ne me souviens pas comment ça
se déroule), et donc prétende que l'installation s'est bien passée 
même si ça empêche le démarrage système.

D'autre part il est aussi possible que l'UEFI soit toujours paramétré
pour démarrer Windows même si Windows n'existe plus sur tes disques.
Suivant les UEFI, l'utilitaire sous Linux efibootmmgr ne permet pas
toujours de vraiement modifier cela. Normalement oui, après une
confirmation demandée par l'UEFI au prochain redémarrage, mais ça n'est
pas toujours le cas. Il est parfois possible de paramétrer dans l'UEFI
de la machine quel gestionnaire de boot activer (windows ou le Grub de
Linux), ce qui débloque la situation.




Re: installation debian 10.10.0 sur Dynabook Satellite Pro L50-G-103

2021-07-20 Thread Bernard Schoenacker



- Mail original -
> De: "Thomas Trupel" 
> À: debian-user-french@lists.debian.org
> Envoyé: Mardi 20 Juillet 2021 07:34:18
> Objet: installation debian 10.10.0 sur Dynabook Satellite Pro L50-G-103
> 
> Bonjour,
> 
> En voulant renouveler mon PC portable et en même temps passer
> définitivement à Linux, j'ai fait l'acquisition d'un PC portable
> Dynabook Satellite Pro L50-G-103... bien mal m'en a pris !
> Dès sa réception je me suis empressé d'insérer une clé USB bootable
> (avec l'image firmware-10.10.0-amd64-DVD-1.iso dessus via
> rufus-3.10p.exe) et j'ai lancé l'installation de Debian.
> Voulant me débarrasser définitivement de Windows, j'ai reformaté les
> deux espaces de stockage du PC (HDD + SDD) et j'ai sélectionné le SDD
> pour l'installation de Debian.
> 
> L'installation s'est bien déroulée mais je n'ai jamais réussi à
> booter
> sur Debian...
> Après quelques tests avec un live CD Ubuntu, j'ai constaté que la
> variable UEFI BootOrder est écrasée par le firmware UEFI du PC à
> chaque
> redémarrage...
> Que me conseillez-vous avant d'abandonner ?
> 
> Cordialement,
> Thomas Trupel
> 

Bonjour,

Serait-il possible de réellement employer une image net-install 
de Debian pour obtenir un socle de base viable et ensuite installer
le reste dans un second temps ?

Merci pour votre aimable attention

Bien à vous

Bernard





installation debian 10.10.0 sur Dynabook Satellite Pro L50-G-103

2021-07-20 Thread Thomas Trupel

Bonjour,

En voulant renouveler mon PC portable et en même temps passer 
définitivement à Linux, j'ai fait l'acquisition d'un PC portable 
Dynabook Satellite Pro L50-G-103... bien mal m'en a pris !
Dès sa réception je me suis empressé d'insérer une clé USB bootable 
(avec l'image firmware-10.10.0-amd64-DVD-1.iso dessus via 
rufus-3.10p.exe) et j'ai lancé l'installation de Debian.
Voulant me débarrasser définitivement de Windows, j'ai reformaté les 
deux espaces de stockage du PC (HDD + SDD) et j'ai sélectionné le SDD 
pour l'installation de Debian.


L'installation s'est bien déroulée mais je n'ai jamais réussi à booter 
sur Debian...
Après quelques tests avec un live CD Ubuntu, j'ai constaté que la 
variable UEFI BootOrder est écrasée par le firmware UEFI du PC à chaque 
redémarrage...

Que me conseillez-vous avant d'abandonner ?

Cordialement,
Thomas Trupel





Re: Problems opening Linuxquestions link [WAS Re: Attempt to use the chipset NVIDIA Corp MCP79 [GeForce 8200M G] (rev b1) (prog-if 00 [VGA controller]) with Dix. Teacher-Guide, Mr. Felix Miata]

2021-04-19 Thread l0f4r0
Hi,

19 avr. 2021, 11:31 de amaca...@einval.com:

> On Mon, Apr 19, 2021 at 11:04:23AM +0530, Susmita/Rajib wrote:
>
>> > A visit to the following may prove fruitful moving forward:
>> > 
>> [...]
>>
>> But the website requires creation of an account in order for me to
>> read the post. I wouldn't like to create an account just for this
>> purpose, unless required. Could the essential steps be posted to this
>> thread please?
>>
> Pasting that link into Google Search found it for me with no particular 
> problems - Felix Miata talking to a Jeremy Ardley about similar problems, 
> I think and how to sort out driver issues.
>
Are you sure? I cannot access it through Google from my side and this is not a 
discussion between 2 people but a LinuxQuestion user blog post. Maybe are you 
mistaken? ;)

Here is the content as requested exceptionally (I recommend creating an account 
for next time as this is globally an excellent community):

AMD, Intel & NVidia X graphics driver primer
Posted 18-07-20 at 00:52 by mrmazda
Updated Today at 06:56 by mrmazda ((mainly) in re modesetting DIX)
Tags graphics, video, xorg
"Drivers" for the subject brands of GPUs for X, whether Wayland or Xorg, 
consist of multiple components or layers. This primer discusses only the first 
two layers, and only for the FOSS types included in the installation media for 
most GNU Linux distributions and their standard FOSS repositories.

First layer is the kernel. Each kernel comes with one or more of its own 
modules for each brand of GPU. For AMD, there is amdgpu for current and recent 
GPUs/APUs/IGPs, and radeon for older. For Intel there is gma500 for many SOC 
configurations, and i915 for the rest. For NVidia there is only nouveau. These 
kernel modules provide Kernel ModeSetting (KMS) functionality that the 
foundational X driver layer unconditionally depends upon.

These foundational X drivers are traditionally hardware device dependent, and 
thus are called DDX, for device dependent X (driver). Again, for AMD there is 
amdgpu for current and radeon for older; for Intel there is only intel; and for 
NVidia there is only nouveau. Each of these is provided by an upstream optional 
xf86-video-* source package. However, there is a newer technology device 
independent X driver, now more than six years old, that functions as if it was 
device dependent, but which is in fact created for supporting AMD, Intel, 
NVidia (and others), not surprisingly, called modesetting. This modesetting DIX 
is provided by the X server source package rather than a separate one, so is 
not optional, unlike the xf86-video-* packages. Because it is relatively new, 
older GPUs (roughly prior to Gen4 for Intel, or 2007 or 2008 for others) are 
not supported by it.

Even though upstream modesetting is the default X driver, and the xf86-video-* 
packages are technically optional, most Linux installations include a 
metapackage that installs every one of the xf86-video-* packages. This 
metapackage causes older GPUs unsupported by the modesetting DIX to be 
supported by a default installation, which in effect in many cases preempts the 
upstream default modesetting DIX that supports most non-ancient GPUs that are 
not too new for standard support.

Because of the prevalence of this preemptive override, most people speaking of 
video "drivers" don't even know the modesetting DIX exists. And because of the 
similar naming for kernel modules and DDXes, discussion of graphics "drivers" 
is often lacking clarity. This is particularly true for those for NVidia GPUs. 
Discussion of kernel driver is often intended when technically speaking of a 
DDX or DIX, and vice versa.

Those who wish to employ the modesetting DIX can most easily do so by 
uninstalling the video DDX metapackage and whichever discrete video package is 
applicable to the installed GPU(s). Whether the modesetting DIX will perform 
"better" than a GPU-specific video package can only be determined by trying 
both and comparing behavior. It is not unusual that tearing or other buggy 
behavior can be eliminated or reduced by a switch between DDX and DIX or vice 
versa.

For X there is additionally a pair of limited functionality drivers that do not 
depend on KMS that support AMD, Intel, NVidia and more. These are FBDEV and 
VESA. These are unaccelerated, and support few, if any, modern widescreen 
resolutions, typically limited to 4:3 modes 1280x1024, 1600x1200, or less, 
often only 1024x768. Most find these acceptable only for rescue operations, or 
for servers where X is in use little to none. Not infrequently it is one of 
these two that are required for installation to proceed. When this happens, 
usually the bootloader on the installed system is configured to include 
nomodeset on each of the linux lines. The result of nomodeset in the bootloader 
is the competent DDX's and DIX's support is 

Re: Attempt to use the chipset NVIDIA Corp MCP79 [GeForce 8200M G]

2021-04-19 Thread Felix Miata
Greg Wooledge composed on 2021-04-19 11:31 (UTC-0400):

> If you're at the GRUB menu, you can edit the kernel selection before
> booting into it, and add a boot parameter to this list:

> systemd.unit=multi-user.target

> That will override the default target for one boot only.

So will simply 3, an easy to remember and type alias for
systemd.unit=multi-user.target inherited from sysvinit runlevel 3
(everything except GUI) on such rpm systems as Fedora, Mageia and
openSUSE.
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: FW: Re: Attempt to use the chipset NVIDIA Corp MCP79 [GeForce 8200M G]

2021-04-19 Thread Andrew M.A. Cater
On Mon, Apr 19, 2021 at 11:31:58AM -0400, Greg Wooledge wrote:
> On Mon, Apr 19, 2021 at 03:27:37PM +, Andrew M.A. Cater wrote:
> > If Nouveau is going to work - it will "just work", I think, as Felix Miata 
> > says.  If it definitely doesn't work at all and just freezes, 
> > then you'll need to effectively reinstall, do the text only install trick, 
> > install the necessary to build the nvidia-legacy package THEN use tasksel 
> > to 
> > install the GUI and desktop environment of your choice.
> 
> You don't need to reinstall.  Just disable the Display Manager so you
> can boot into regular text mode.
> 
> If you're at the GRUB menu, you can edit the kernel selection before
> booting into it, and add a boot parameter to this list:
> 
> systemd.unit=multi-user.target
> 
> That will override the default target for one boot only.
> 

There are pathological edge cases where if you've got nouveau installed, you 
can't then install the non-free proprietary 
Nviida drivers because you can't uninstall enough of nouveau. If you've got the 
Nvidia drivers installed and want to change, 
you can't then delete them completely and install nouveau - at least in my 
experience, they've tended to interfere destructively. 

Hence the "install nothing graphical THEN install the prerequisites for the 
proprietary driver if necessary, then install the proprietary
driver, then install the GUI to sit on top of it all" suggestion.

My caution may be bad luck or the experience of a very much less than clueful 
user: it certainly bit me with dual chipset laptops and 
bumblebee but it might not now be a problem. My preferred option would always 
be to take the free nouveau drivers if possible because 
otherwise you end up potentially having to compile drivers and DKMS kernel 
interfaces with every kernel change.

All the best, as ever,

Andy C.



Re: FW: Re: Attempt to use the chipset NVIDIA Corp MCP79 [GeForce 8200M G]

2021-04-19 Thread Greg Wooledge
On Mon, Apr 19, 2021 at 03:27:37PM +, Andrew M.A. Cater wrote:
> If Nouveau is going to work - it will "just work", I think, as Felix Miata 
> says.  If it definitely doesn't work at all and just freezes, 
> then you'll need to effectively reinstall, do the text only install trick, 
> install the necessary to build the nvidia-legacy package THEN use tasksel to 
> install the GUI and desktop environment of your choice.

You don't need to reinstall.  Just disable the Display Manager so you
can boot into regular text mode.

If you're at the GRUB menu, you can edit the kernel selection before
booting into it, and add a boot parameter to this list:

systemd.unit=multi-user.target

That will override the default target for one boot only.



FW: Re: Attempt to use the chipset NVIDIA Corp MCP79 [GeForce 8200M G]

2021-04-19 Thread Andrew M.A. Cater
From: "Andrew M.A. Cater" 
To: Susmita/Rajib , debian-u...@lits.debian.org
Subject: Re: Attempt to use the chipset NVIDIA Corp MCP79 [GeForce 8200M G]
 (rev b1) (prog-if 00 [VGA controller]) with Dix. Teacher-Guide, Mr. Felix
 Miata
User-Agent: Mutt/1.10.1 (2018-07-13)

On Mon, Apr 19, 2021 at 07:38:45PM +0530, Susmita/Rajib wrote:
> One question, as I am having cold feet, expecting heartbreak.
> 
> Does nouveau boot into GUI before purging the driver with any of the three:
> apt purge xserver-xorg-video-nouveau
> apt-get purge xserver-xorg-video-nouveau
> aptitude purge xserver-xorg-video-nouveau
> 
> I am sorry for the misinformation posted earlier.
> 
> Nouveau always has drawn a GUI, but then the system froze. If that is
> your experience too, then I should be elated.
> 
> Best.
> Rajib
> 

If Nouveau is going to work - it will "just work", I think, as Felix Miata 
says.  If it definitely doesn't work at all and just freezes, 
then you'll need to effectively reinstall, do the text only install trick, 
install the necessary to build the nvidia-legacy package THEN use tasksel to 
install the GUI and desktop environment of your choice.

I've done this before with a laptop which has Nvidia and Intel chipsets and 
switches between them. That requires bumblebee packages, if
I remember correctly but is a smilar dance to get sorted - text only install 
THEN install the Nvidia drivers.

All the best, as ever,

Andy C. 


- End forwarded message -



FW: Re: Attempt to use the chipset NVIDIA Corp MCP79 [GeForce 8200M G]

2021-04-19 Thread Andrew M.A. Cater


Date: Mon, 19 Apr 2021 15:04:34 +
From: "Andrew M.A. Cater" 
To: Susmita/Rajib , debian-u...@lits.debian.org
Subject: Re: Attempt to use the chipset NVIDIA Corp MCP79 [GeForce 8200M G]
 (rev b1) (prog-if 00 [VGA controller]) with Dix. Teacher-Guide, Mr. Felix
 Miata
User-Agent: Mutt/1.10.1 (2018-07-13)

On Mon, Apr 19, 2021 at 07:38:45PM +0530, Susmita/Rajib wrote:
> One question, as I am having cold feet, expecting heartbreak.
> 
> Does nouveau boot into GUI before purging the driver with any of the three:
> apt purge xserver-xorg-video-nouveau
> apt-get purge xserver-xorg-video-nouveau
> aptitude purge xserver-xorg-video-nouveau
> 
> I am sorry for the misinformation posted earlier.
> 
> Nouveau always has drawn a GUI, but then the system froze. If that is
> your experience too, then I should be elated.
> 
> Best.
> Rajib
> 

If Nouveau is going to work - it will "just work", I think, as Felix Miata 
says.  If it definitely doesn't work at all and just freezes, 
then you'll need to effectively reinstall, do the text only install trick, 
install the necessary to build the nvidia-legacy package THEN use tasksel to 
install the GUI and desktop environment of your choice.

I've done this before with a laptop which has Nvidia and Intel chipsets and 
switches between them. That requires bumblebee packages, if
I remember correctly but is a smilar dance to get sorted - text only install 
THEN install the Nvidia drivers.

All the best, as ever,

Andy C. 


- End forwarded message -



Re: Attempt to use the chipset NVIDIA Corp MCP79 [GeForce 8200M G] (rev b1) (prog-if 00 [VGA controller]) with Dix. Teacher-Guide, Mr. Felix Miata

2021-04-19 Thread Greg Wooledge
On Mon, Apr 19, 2021 at 07:38:45PM +0530, Susmita/Rajib wrote:
> One question, as I am having cold feet, expecting heartbreak.
> 
> Does nouveau boot into GUI before purging the driver with any of the three:

You're confused.  Let's go back to basics.

When your system is powered on, the first thing that happens is your
firmware (sometimes called "BIOS" although that's not accurate on modern
systems) runs through a bunch of initializations and tests, and locates
some of your devices.  Then it looks for a boot loader on one of those
devices.

Next, the boot loader takes over.  On a typical PC (amd64 or i386),
with a typical Debian install, that boot loader is GRUB.  GRUB reads
a menu from a file on one of your devices, and this file tells it
where to find a Linux kernel, or other operating systems.  It also has
a list of parameters that it can pass to Linux, to tell it certain
things.

GRUB loads Linux (or whatever OS you choose).  Linux runs through its
own battery of hardware probing and initializations.  After it's done
with that, it runs /sbin/init (unless told otherwise by GRUB's parameters).

On a standard modern Debian installation, /sbin/init is a symlink to
systemd, so systemd takes over as the "user space" (not part of the
kernel) process, and then eventually spawns every other program that
it has been configured to run.

systemd is quite complex, so I'll only cover one very specific part of
it here: it has something called a "default target", which tells it which
programs to start up.  There are two different common default targets
for systemd:

graphical.target
multi-user.target

If the default target is graphical.target, AND if a Display Manager
package is installed (e.g. gdm3 or lightdm), then a GUI will run at
boot time.

If the default target is multi-user.target, OR if no Display Manager
package is installed, OR if various configuration files are changed to
tell systemd not to load a Display Manager at boot time... then no GUI
is run at boot time.  You get a standard Linux text console.

> apt purge xserver-xorg-video-nouveau
> apt-get purge xserver-xorg-video-nouveau
> aptitude purge xserver-xorg-video-nouveau
> 
> I am sorry for the misinformation posted earlier.
> 
> Nouveau always has drawn a GUI, but then the system froze. If that is
> your experience too, then I should be elated.

Nouveau does not "draw a GUI".  I think you are confusing what Nouveau
*is*.

Nouveau is the name of one of the possible drivers for the Nvidia
graphics chipsets.  If you start an X or Wayland session, the X server
or the Wayland thingamabobber will need to load drivers to talk to
your graphics hardware.  If your graphics hardware is Nvidia, then it
might use the nouveau driver.  Or some other driver.

If you are having trouble getting X or Wayland to start up, the first
thing you want to do is disable the automatic starting of X or Wayland
at boot time.  You can do that by changing the boot parameters that
GRUB sends to Linux (either one time, or permanently), or by permanently
changing systemd's default target, or by editing some config file whose
name I can't find right now, or by removing your Display Manager package.

Any ONE of those actions will be sufficient.

Once you fix your driver and/or firmware issues, so that "startx" works
(or so that Wayland works, if you're doing that), then you can revert
your action and allow the Display Manager to run at boot time.



Re: Attempt to use the chipset NVIDIA Corp MCP79 [GeForce 8200M G] (rev b1) (prog-if 00 [VGA controller]) with Dix. Teacher-Guide, Mr. Felix Miata

2021-04-19 Thread Susmita/Rajib
One question, as I am having cold feet, expecting heartbreak.

Does nouveau boot into GUI before purging the driver with any of the three:
apt purge xserver-xorg-video-nouveau
apt-get purge xserver-xorg-video-nouveau
aptitude purge xserver-xorg-video-nouveau

I am sorry for the misinformation posted earlier.

Nouveau always has drawn a GUI, but then the system froze. If that is
your experience too, then I should be elated.

Best.
Rajib



Re: Attempt to use the chipset NVIDIA Corp MCP79 [GeForce 8200M G] (rev b1) (prog-if 00 [VGA controller]) with Dix. Teacher-Guide, Mr. Felix Miata

2021-04-19 Thread Susmita/Rajib
On Mon, 19 Apr 2021 03:55:10 -0400, Felix Miata  wrote:
[...]   
> All of the following should be equivalent:
>
>   apt purge xserver-xorg-video-nouveau
>   apt-get purge xserver-xorg-video-nouveau
>   aptitude purge xserver-xorg-video-nouveau
[...]

Thank you, Mr. Miata.

[...]   
> That's not good. Did it never work using Knoppix as well? Did you ever try
> any
> Gnu/Linux distro that is neither Debian nor Debian-based? If never no matter
> the
> distro, and if modesetting DIX fails as well, a bug should be reported.
[...]

Sure, shall report the bug if that happens. Let's hope that it doesn't.

Thanks,
Rajib



Re: Attempt to use the chipset NVIDIA Corp MCP79 [GeForce 8200M G] (rev b1) (prog-if 00 [VGA controller]) with Dix. Teacher-Guide, Mr. Felix Miata

2021-04-19 Thread Susmita/Rajib
On 19/04/2021, Susmita/Rajib  wrote:
[...]   
> All of the following should be equivalent:
>
>   apt purge xserver-xorg-video-nouveau
>   apt-get purge xserver-xorg-video-nouveau
>   aptitude purge xserver-xorg-video-nouveau
[...]

Thank you, Mr. Miata.

[...]   
> That's not good. Did it never work using Knoppix as well? Did you ever try
> any
> Gnu/Linux distro that is neither Debian nor Debian-based? If never no matter
> the
> distro, and if modesetting DIX fails as well, a bug should be reported.
[...]

Sure, shall report the bug if that happens. Let's hope that it doesn't.

Thanks,
Rajib



Problems opening Linuxquestions link [WAS Re: Attempt to use the chipset NVIDIA Corp MCP79 [GeForce 8200M G] (rev b1) (prog-if 00 [VGA controller]) with Dix. Teacher-Guide, Mr. Felix Miata]

2021-04-19 Thread Andrew M.A. Cater
On Mon, Apr 19, 2021 at 11:04:23AM +0530, Susmita/Rajib wrote:
> Changing the subject Line:
> From:
> Can the latest stable Debian be compelled to run in vesa mode, rather
> than the motherboard graphics card, if the said card doesn't have
> drivers available? How?
> Last thread:  https://lists.debian.org/debian-user/2021/04/msg00534.html
> 
> To the present one, to maintain relevance and for other support
> seekers subsequently.
> 
> 
> On 19/04/2021, Felix Miata  wrote:
> [...]
> > 
> > In order to use the Modesetting DIX driver with GeForce 8200M G [MCP79] it
> > should
> > be entirely sufficient as follows:
> >
> > 1-eradicate/purge/uninstall/delete all traces of NVidia's proprietary
> > drivers
> > 2-purge xserver-xorg-video-nouveau
> > 3-reboot
> >
> > Purging xserver-xorg-video-nouveau is not necessary, just simpler. It may
> > be
> > necessary to configure specially in /etc/X11/ to not use the Nouveau DDX if
> > it is
> > installed.
> >
> > Note that #2 above may involve reinstalling one or more libraries required
> > for
> > utilizing FOSS drivers with any model GeForce.
> [...]
> 
> I have already downloaded the ISO, firmware-10.9.0-amd64-netinst.iso,
> from the link:
> https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/current/amd64/iso-cd/firmware-10.9.0-amd64-netinst.iso
> 
> I will dd the ISO to a flash drive and clean reinstall the OS. Have
> saved the grub lines for Knoppix too.
> 
> Shall proceed with your later steps, whenever required.
> 
> 
> > A visit to the following may prove fruitful moving forward:
> > <https://www.linuxquestions.org/questions/blog/mrmazda-1035595/amd-intel-and-nvidia-x-graphics-driver-primer-38306/>
> [...]
> 
> But the website requires creation of an account in order for me to
> read the post. I wouldn't like to create an account just for this
> purpose, unless required. Could the essential steps be posted to this
> thread please?
> 
Pasting that link into Google Search found it for me with no particular 
problems - Felix Miata talking to a Jeremy Ardley about similar problems, 
I think and how to sort out driver issues.

> Best.
> Rajib
> 

All best, as ever,

Andy C



Re: Attempt to use the chipset NVIDIA Corp MCP79 [GeForce 8200M G] (rev b1) (prog-if 00 [VGA controller]) with Dix. Teacher-Guide, Mr. Felix Miata

2021-04-19 Thread Felix Miata
Susmita/Rajib composed on 2021-04-19 12:45 (UTC+0530):

> ... sufficient to purge xserver-xorg-video-nouveau and restart X to
> engage the modesetting DIX. ...

> Query: you meant apt-get purge xserver-xorg-video-nouveau ? Could you
> please help with the exact line?

All of the following should be equivalent:

apt purge xserver-xorg-video-nouveau
apt-get purge xserver-xorg-video-nouveau
aptitude purge xserver-xorg-video-nouveau

>  A note: it has repeatedly been checked that default nouveau never
> worked with the nvidia chipset of my laptop.

That's not good. Did it never work using Knoppix as well? Did you ever try any
Gnu/Linux distro that is neither Debian nor Debian-based? If never no matter the
distro, and if modesetting DIX fails as well, a bug should be reported.
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Attempt to use the chipset NVIDIA Corp MCP79 [GeForce 8200M G] (rev b1) (prog-if 00 [VGA controller]) with Dix. Teacher-Guide, Mr. Felix Miata

2021-04-19 Thread Susmita/Rajib
So my queries before I proceed:
Is the installer ISO, "firmware-10.9.0-amd64-netinst.iso", from the link:
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/current/amd64/iso-cd/firmware-10.9.0-amd64-netinst.iso,
  sufficient for the purpose?

Are the steps (i summarise your points):
a default installation will include xserver-xorg-video-nouveau,

To use the modesetting DIX instead of the nouveau DDX on a fresh
installation, it may be sufficient to do nothing specifically
regarding X drivers ...

... sufficient to purge xserver-xorg-video-nouveau and restart X to
engage the modesetting DIX. ...

Query: you meant apt-get purge xserver-xorg-video-nouveau ? Could you
please help with the exact line?

 A note: it has repeatedly been checked that default nouveau never
worked with the nvidia chipset of my laptop.

Any last minute advise please?

Best,
Rajib



Attempt to use the chipset NVIDIA Corp MCP79 [GeForce 8200M G] (rev b1) (prog-if 00 [VGA controller]) with Dix. Teacher-Guide, Mr. Felix Miata

2021-04-18 Thread Susmita/Rajib
Changing the subject Line:
From:
Can the latest stable Debian be compelled to run in vesa mode, rather
than the motherboard graphics card, if the said card doesn't have
drivers available? How?
Last thread:  https://lists.debian.org/debian-user/2021/04/msg00534.html

To the present one, to maintain relevance and for other support
seekers subsequently.


On 19/04/2021, Felix Miata  wrote:
[...]
>   
> In order to use the Modesetting DIX driver with GeForce 8200M G [MCP79] it
> should
> be entirely sufficient as follows:
>
> 1-eradicate/purge/uninstall/delete all traces of NVidia's proprietary
> drivers
> 2-purge xserver-xorg-video-nouveau
> 3-reboot
>
> Purging xserver-xorg-video-nouveau is not necessary, just simpler. It may
> be
> necessary to configure specially in /etc/X11/ to not use the Nouveau DDX if
> it is
> installed.
>
> Note that #2 above may involve reinstalling one or more libraries required
> for
> utilizing FOSS drivers with any model GeForce.
[...]

I have already downloaded the ISO, firmware-10.9.0-amd64-netinst.iso,
from the link:
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/current/amd64/iso-cd/firmware-10.9.0-amd64-netinst.iso

I will dd the ISO to a flash drive and clean reinstall the OS. Have
saved the grub lines for Knoppix too.

Shall proceed with your later steps, whenever required.


> A visit to the following may prove fruitful moving forward:
> <https://www.linuxquestions.org/questions/blog/mrmazda-1035595/amd-intel-and-nvidia-x-graphics-driver-primer-38306/>
[...]

But the website requires creation of an account in order for me to
read the post. I wouldn't like to create an account just for this
purpose, unless required. Could the essential steps be posted to this
thread please?

Best.
Rajib



Re: Exim4 Bounce rfc822 spf - Pourquoi g...@gmail.fr

2019-12-12 Thread G2PC
Le 11/12/2019 à 16:00, G2PC a écrit :
>> Regarde les formulaires sur ton site web, le formulaire "envoyer à un
>> ami" n'a pas de captcha.
> C'est juste effectivement.
> Je peux voir à enlever ce paramètre, ou, à ajouter un captcha.
>
> Par contre, est ce vraiment la cause de ce spam que je reçois ?
> Si je fais un test pour m'envoyer l'url de la page, par mail, via ce
> formulaire, je réceptionne bien le mail.
>
> Il faut que je tente d'obtenir un bounce, en envoyant un des articles et
> son URL à l'adresse inconnue que j'ai identifié dans la source du
> message réceptionné ( vincenzachampa...@yahoo.com ), pour vérifier si
> j'obtiens la même chose.
>
> Normalement, je devrais recevoir le même bounce que précédemment.

Étrange car, je n'ai rien reçu entre temps, suite à l'envoie d'un mail
sur cette adresse. Pas eu de bounce en retour.
Pour cela, je me demandais si d'une façon ou d'une autre, ce n'était pas
plutôt un mail forgé.



Re: Exim4 Bounce rfc822 spf - Pourquoi g...@gmail.fr

2019-12-11 Thread G2PC


> Regarde les formulaires sur ton site web, le formulaire "envoyer à un
> ami" n'a pas de captcha.

C'est juste effectivement.
Je peux voir à enlever ce paramètre, ou, à ajouter un captcha.

Par contre, est ce vraiment la cause de ce spam que je reçois ?
Si je fais un test pour m'envoyer l'url de la page, par mail, via ce
formulaire, je réceptionne bien le mail.

Il faut que je tente d'obtenir un bounce, en envoyant un des articles et
son URL à l'adresse inconnue que j'ai identifié dans la source du
message réceptionné ( vincenzachampa...@yahoo.com ), pour vérifier si
j'obtiens la même chose.

Normalement, je devrais recevoir le même bounce que précédemment.




Re: Exim4 Bounce rfc822 spf - Pourquoi g...@gmail.fr

2019-12-10 Thread Frédéric MASSOT
Le 10/12/2019 à 11:30, G2PC a écrit :
> Bonjour,
> 
> J'utilise Exim4, et, une configuration non aboutie ( Pas de Dkim / Dmarc / 
> SPF peut être mal configurée )
> L'envoie de mail semble fonctionner comme je le souhaite, pour récupérer mes 
> accès CMS par exemple, lors de la création d'un utilisateur.
> 
> Depuis quelques jours, j'ai des spams récurrents, du même type, sur l'un de 
> mes comptes mails, qui semble lié à une seule installation de CMS ( site ) si 
> je ne me trompe pas.
> Le domaine du site concerné semble être green-nrj.com
> 
> 
> Comment comprendre ce mail (copie plus bas) que je reçois trop régulièrement, 
> presque 10 fois par jour ?
> Au delà de la nécessité de mettre en place Dkim / Dmarc / SPF correctement, 
> je suis étonné de toujours retrouver l’adresse " for ; " dans 
> les mails reçu.
> 
> 
> S'agit t'il d'un mail forgé, qui ne serait pas émis par mon propre serveur ? 
> J'ai tenté de trouver des logs de cet envoie dans les logs de exim4, mais, je 
> n'ai pas l'impression que Exim4 ait stocké un log pour cet envoi.
> Je constate également que le mail que j'ai reçu ce jour ( le 10 décembre ) , 
> semble avoir été émis à l'origine le 4 décembre : for ; Wed,  
> 4 Dec 2019 16:10:13 + (UTC)


Regarde les formulaires sur ton site web, le formulaire "envoyer à un
ami" n'a pas de captcha.


-- 
==
|  FRÉDÉRIC MASSOT   |
| http://www.juliana-multimedia.com  |
|   mailto:frede...@juliana-multimedia.com   |
| +33.(0)2.97.54.77.94  +33.(0)6.67.19.95.69 |
===Debian=GNU/Linux===



Exim4 Bounce rfc822 spf - Pourquoi g...@gmail.fr

2019-12-10 Thread G2PC
Bonjour,

J'utilise Exim4, et, une configuration non aboutie ( Pas de Dkim / Dmarc / SPF 
peut être mal configurée )
L'envoie de mail semble fonctionner comme je le souhaite, pour récupérer mes 
accès CMS par exemple, lors de la création d'un utilisateur.

Depuis quelques jours, j'ai des spams récurrents, du même type, sur l'un de mes 
comptes mails, qui semble lié à une seule installation de CMS ( site ) si je ne 
me trompe pas.
Le domaine du site concerné semble être green-nrj.com


Comment comprendre ce mail (copie plus bas) que je reçois trop régulièrement, 
presque 10 fois par jour ?
Au delà de la nécessité de mettre en place Dkim / Dmarc / SPF correctement, je 
suis étonné de toujours retrouver l’adresse " for ; " dans les 
mails reçu.


S'agit t'il d'un mail forgé, qui ne serait pas émis par mon propre serveur ? 
J'ai tenté de trouver des logs de cet envoie dans les logs de exim4, mais, je 
n'ai pas l'impression que Exim4 ait stocké un log pour cet envoi.
Je constate également que le mail que j'ai reçu ce jour ( le 10 décembre ) , 
semble avoir été émis à l'origine le 4 décembre : for ; Wed,  4 
Dec 2019 16:10:13 + (UTC)


Je lis en lecture diagonale qu'il s'agit d'un BOUNCE : X-VR-SPAMSTATE: BOUNCE


J'ai fais une recherche rapide sur rfc822 mais si j'ai bien compris, ce n'est 
pas / plus une norme d'actualité, qui a été remplacée / améliorée. Je ne sais 
pas comment prendre en compte cette information à cet instant :
X-Postfix-Sender: rfc822; alternat...@green-nrj.com
...
Final-Recipient: rfc822; g...@gmail.fr
Original-Recipient: rfc822;g...@gmail.fr
Action: failed


Je constate que les mails sont à chaque fois différents :
Ceci est un message expédié via https://www.green-nrj.com/ par :
KlBLFYODHIjaipk 


J'ai désactivé hier le formulaire d'inscription qui était accessible depuis le 
menu.
Je me demande si il s'agit d'une faille dans un formulaire, ou, dans le 
template, qui permettrait d'envoyer des mails depuis ce site.
Actuellement, il reste toujours le formulaire de récupération de mot de passe, 
ou, d'identification, en front.

Je pourrais d'ailleurs enlever le lien vers cet espace de connexion qui ne me 
sert pas pour ne laisser que celui de l'administration.
J'aimerais tout de même pouvoir mieux comprendre pourquoi je me prend ce mail 
de façon répétitive :



Return-Path: <>
Delivered-To: alternat...@green-nrj.com
Received: from localhost (HELO queue) (127.0.0.1)
by localhost with SMTP; 9 Dec 2019 18:30:47 +0200
Received: from unknown (HELO output24.mail.ovh.net) (10.108.115.77)
  by mail136.ha.ovh.net with AES256-GCM-SHA384 encrypted SMTP; 9 Dec 2019 
18:30:47 +0200
Received: from vr4.mail.ovh.net (unknown [10.101.8.4])
by out24.mail.ovh.net (Postfix) with ESMTP id 47WpbC32Wwz6XjCQZ
for ; Mon,  9 Dec 2019 16:30:47 + (UTC)
Received: from in70.mail.ovh.net (unknown [10.101.4.70])
by vr4.mail.ovh.net (Postfix) with ESMTP id 47WpbC1rxPz2CcCN
for ; Mon,  9 Dec 2019 16:30:47 + (UTC)
Received-SPF: None (no SPF record) identity=no SPF record; 
client-ip=188.165.52.203; helo=3.mo69.mail-out.ovh.net; envelope-from=<>; 
receiver=alternat...@green-nrj.com 
Authentication-Results: in70.mail.ovh.net; dkim=none; dkim-atps=neutral
Received: from 3.mo69.mail-out.ovh.net (3.mo69.mail-out.ovh.net 
[188.165.52.203])
by in70.mail.ovh.net (Postfix) with ESMTPS id 47WpbC1CKwzZ1113
for ; Mon,  9 Dec 2019 16:30:47 + (UTC)
Received: by mo69.mail-out.ovh.net (Postfix)
id 3B5EF7369E; Mon,  9 Dec 2019 17:30:41 +0100 (CET)
Date: Mon,  9 Dec 2019 17:30:41 +0100 (CET)
From: mailer-dae...@mo69.mail-out.ovh.net (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: alternat...@green-nrj.com
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="E294F744AD.1575909041/mo69.mail-out.ovh.net"
Content-Transfer-Encoding: 8bit
Message-Id: <20191209163041.3b5ef73...@mo69.mail-out.ovh.net>
X-Ovh-Remote: 188.165.52.203 (3.mo69.mail-out.ovh.net)
X-Ovh-Tracer-Id: 8554306018541371540
X-VR-SPAMSTATE: BOUNCE
X-VR-SPAMSCORE: 1
X-VR-SPAMCAUSE: 
gggruggvucftvghtrhhoucdtuddrgedufedrudeltddgkeelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucfpohhtihhfihgtrghtihhonhculddutddttddtmdenucfjughrpeffhffuvfggtgfgsehpkedtredttddvnecuhfhrohhmpefotefknffgtfdqffetgffoqffpsehmoheiledrmhgrihhlqdhouhhtrdhovhhhrdhnvghtucdlofgrihhlucffvghlihhvvghrhicuufihshhtvghmmdenucffohhmrghinhepohhvhhdrnhgvthdrihhmnecukfhppedukeekrdduieehrdehvddrvddtfeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepihhnjedtrdhmrghilhdrohhvhhdrnhgvthdpihhnvghtpedukeekrdduieehrdehvddrvddtfedpmhgrihhlfhhrohhmpedprhgtphhtthhopegrlhhtvghrnhgrthhivhgvsehgrhgvvghnqdhnrhhjrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd
X-Ovh-Spam-Status: OK
X-Ovh-Spam-Reason: vr: BOUNCE; dkim: disabled; spf: disabled
X-Ovh-Message-Type: BOUNCE

This is a MI

błąd kompilacjii kernela debian 9 64 lxde na dobrym xorgu r7 240 Celeron G1610 2.6Ghz 2mb l3 22nm 8GB RIP JAWS G SKILL 1333mhz

2019-04-25 Thread Omnis Moriar
Makefile:1564: uwaga: polecenia zakrywające dla obiektu 'modules'
Makefile:1270: uwaga: ignoruję stare polecenia dla obiektu 'modules'
Makefile:1591: uwaga: polecenia zakrywające dla obiektu 'help'
Makefile:1413: uwaga: ignoruję stare polecenia dla obiektu 'help'
Makefile:1564: uwaga: polecenia zakrywające dla obiektu 'modules'
Makefile:1270: uwaga: ignoruję stare polecenia dla obiektu 'modules'
Makefile:1591: uwaga: polecenia zakrywające dla obiektu 'help'
Makefile:1413: uwaga: ignoruję stare polecenia dla obiektu 'help'
/bin/sh: 1: Syntax error: Unterminated quoted string
make[1]: *** [debian_conf_var] Błąd 2
debian/ruleset/targets/common.mk:151: polecenia dla obiektu
'debian/stamp/conf/vars' nie powiodły się
make: *** [debian/stamp/conf/vars] Błąd 2


convertir un dessin en G-code

2019-01-14 Thread Bernard Schoenacker
bonjour,

j'ai essayé un logiciel libre pour convertir
un dessin en G-code, malheureusement le 
logiciel plante lamentablement avec un 
dessin issu de librecad et je n'arrive
pas à trouver les traces ...

quelles sont les alternatives ?

attention, c'est pour couper du métal (inox 304L)

le site de référence est dans les choux :

https://alternativeto.net/software/dxf2gcode/

merci de votre aimable attention

slt
bernard



Re: sort (-g) [offtopic]

2018-02-27 Thread Ionel Mugurel Ciobîcă
On 27-02-2018, at 07h 31'11", David Wright wrote about "Re: sort (-g) 
[offtopic]"
> Yes, you need to read §3.4.2.8 over again:
> [...]
> IOW you should write a file containing
> 
> I i
> II ii
> etc.
> 
> and feed it to -s.

I can do that. 

> 
> > Besides, how this msort will work in a pipe, when I have to sort by
> > date, things like 3-V-2017 and 17-IX-2016, I can't find the equivalent
> > of -k from sort into this msort.
> > 

I could use -n option of msort in the same way as I use now -k from
sort.


Thank you.

Ionel



Re: sort (-g) [offtopic]

2018-02-27 Thread Ionel Mugurel Ciobîcă
On 27-02-2018, at 08h 36'51", Greg Wooledge wrote about "Re: sort (-g) 
[offtopic]"
> > Did I miss anything?
> 
> Well, this program certainly is ... unusual.  Doesn't just *work* by
> default.  No examples in the man page.  Anyway, it looks like you
> forgot to specify numeric comparison.
> 
> wooledg:~$ printf %s\\n III IX IV V X VII VI VIII | msort -q -w -l -c N -y any
> III
> IV
> V
> VI
> VII
> VIII
> IX
> X

Yes, you mean the -c. I supposed that if I use the -y option then -c
would be implied. But you are right that this is an unusual piece of
code...


Ionel



Re: sort (-g) [offtopic]

2018-02-27 Thread Greg Wooledge
On Tue, Feb 27, 2018 at 09:48:57AM +0100, Ionel Mugurel Ciobîcă wrote:
> # cat roman | msort -q -w -l -y ROMAN
> I
> II
> III
> IV
> IX
> V
> VI
> VII
> VIII
> X
> XI
> XII

> Did I miss anything?

Well, this program certainly is ... unusual.  Doesn't just *work* by
default.  No examples in the man page.  Anyway, it looks like you
forgot to specify numeric comparison.

wooledg:~$ printf %s\\n III IX IV V X VII VI VIII | msort -q -w -l -c N -y any
III
IV
V
VI
VII
VIII
IX
X

Here's what I mean by "doesn't just work by default":

wooledg:~$ printf %s\\n III IX IV V X VII VI VIII | msort -c N -y any
Comparison type specified without previous key selector (-e, -n, -t, or -w).

What, you don't just read lines by default?  And you don't take standard
sort(1)'s -k key specifier.  OK, fine, here's a -w for you:

wooledg:~$ printf %s\\n III IX IV V X VII VI VIII | msort -w -c N -y any
Sorting on whole record.
Increasing numeric string
Reading from stdin.
Records processed:  0
There's no point in sorting fewer than two records.0

Lolwut?  Who came up with this user interface?  Do you even read standard
input by default?  No "standard" in the man page.  No "stdin" in the man
page.  No examples in the man page.  No default behavior that works.  OK,
I guess it does say "Reading from stdin" in that error output, but why
didn't you say that in the manual?  Jeez.

I ended up googling "msort example" which was only slightly helpful.



Re: sort (-g) [offtopic]

2018-02-27 Thread David Wright
On Tue 27 Feb 2018 at 09:48:57 (+0100), Ionel Mugurel Ciobîcă wrote:
> On 19-02-2018, at 03h 23'27", Will Mengarini wrote about "Re: sort (-g) 
> [offtopic]"
> > * Ionel Mugurel Ciobica <i.m.ciob...@upcmail.nl> [18-02/18=Su 16:55 +0100]:
> > > [... How can something like
> > > "III\nII\nI\nV\nIV\nVII\nVI\nVIII\nX\nIX"
> > > [be sorted?  ...]
> > 
> > See `aptitude show msort`; it probably does what you need.
> 
> 
> I can't see how that would work, I have read the manual and tried
> almost all options. At best msort is still behaves as sort, placing IX
> in between IV and V:
> 
> # cat roman
> X
> III
> II
> XI
> IV
> V
> VI
> VIII
> VII
> IX
> XII
> I
> 
> # cat roman | msort -q -w -l -y ROMAN
> I
> II
> III
> IV
> IX
> V
> VI
> VII
> VIII
> X
> XI
> XII
> 
> # cat roman | sort 
> I
> II
> III
> IV
> IX
> V
> VI
> VII
> VIII
> X
> XI
> XII
> 
> Did I miss anything?

Yes, you need to read §3.4.2.8 over again:

"If the argument to the -c option begins with m or M msort will treat
the key as the name of a month. If the -s option is also used with
this key and its argument is the name of a file, month names will be
read from the file. The file should have the same format as a sort
order specification file. All entries on the same line will be given
the same sort rank. The sort rank will follow the order of the
lines. This approach permits the use of calendars with more than
twelve months. It also allows multiple abbreviations or names for the
same month."

IOW you should write a file containing

I i
II ii
etc.

and feed it to -s.

> Besides, how this msort will work in a pipe, when I have to sort by
> date, things like 3-V-2017 and 17-IX-2016, I can't find the equivalent
> of -k from sort into this msort.
> 
> What I need is something like sort -t- -k3,3n -k2,2m -k1,1n, where m
> would ideally be the sorting of Roman numerals (or the months as Roman
> numerals)...
> 
> Is there a way to add this extension to sort? Like it is right now:
> 
> | --sort=WORD
> |   sort according to WORD: general-numeric -g,
> | human-numeric -h, month -M, numeric -n, random -R, version -V
> 
> to add "roman numerals -m"
> and to be able to specify a file with (all) roman numerals in their
> proper order and ask sort to order using that 'dictionary'?

Precisely the method that I've quoted above.

> I am willing to try to add this to sort if anyone can point me in the
> right direction...

Cheers,
David.



Re: sort (-g) [offtopic]

2018-02-27 Thread Ionel Mugurel Ciobîcă
On 19-02-2018, at 03h 23'27", Will Mengarini wrote about "Re: sort (-g) 
[offtopic]"
> * Ionel Mugurel Ciobica <i.m.ciob...@upcmail.nl> [18-02/18=Su 16:55 +0100]:
> > [... How can something like
> > "III\nII\nI\nV\nIV\nVII\nVI\nVIII\nX\nIX"
> > [be sorted?  ...]
> 
> See `aptitude show msort`; it probably does what you need.


I can't see how that would work, I have read the manual and tried
almost all options. At best msort is still behaves as sort, placing IX
in between IV and V:

# cat roman
X
III
II
XI
IV
V
VI
VIII
VII
IX
XII
I

# cat roman | msort -q -w -l -y ROMAN
I
II
III
IV
IX
V
VI
VII
VIII
X
XI
XII

# cat roman | sort 
I
II
III
IV
IX
V
VI
VII
VIII
X
XI
XII

Did I miss anything?

Besides, how this msort will work in a pipe, when I have to sort by
date, things like 3-V-2017 and 17-IX-2016, I can't find the equivalent
of -k from sort into this msort.

What I need is something like sort -t- -k3,3n -k2,2m -k1,1n, where m
would ideally be the sorting of Roman numerals (or the months as Roman
numerals)...

Is there a way to add this extension to sort? Like it is right now:

| --sort=WORD
|   sort according to WORD: general-numeric -g,
| human-numeric -h, month -M, numeric -n, random -R, version -V

to add "roman numerals -m"
and to be able to specify a file with (all) roman numerals in their
proper order and ask sort to order using that 'dictionary'?

I am willing to try to add this to sort if anyone can point me in the
right direction...

Thank you.

Ionel



Re: Install or build an older gcc/g++ on new Debian (GCC backport)

2018-02-23 Thread Reco
Hi.

On Fri, Feb 23, 2018 at 05:57:59PM +, Bas Ali wrote:
> 
> Hi,
> Just to need help for what concerning to build or/and install an older GCC on 
> a new Debian Distro (e.g 8.8 or 9.3)
> The goal is to be able to compile and build binaries on the New Debian with 
> an older GCC to keep backcompatibility of binaries program previously built 
> on Debian 7 (32bits Wheezy)  using the built-in GCC (4.7.2). Ideally the two 
> binaries built from a Debian 7 32bits and from Debian 8 64bits will be the 
> same byte a byte. 

That could be much more complex than using old GCC.
These guys - [1] - are trying to solve much easier problem - and they
aren't there yet.


> At this moment I know that it possible (but maybe not the good solution ?) to 
> build a 4.7.2 GCC source with the Built-in GCC of a Debian 8.8 (64bits 
> Jessie) but it appears that for > 4.5 GCC there is a need to build too other 
> packages (MPC, MPFR,..) separately (using some option to built on good 
> directory).

Being lazy, I solve such problems with good old chroot.
I mean, why go into all this trouble by compiling a toolchain from the
source if someone did it already.

You need something built for Debian 7 i386? Make a chroot of Debian 7
i386 and build you binaries there.

Making chroot by hand sounds too complex? Use LXC, they have a nice easy
way to set up pretty much any major Linux distribution in a container.

[1] https://wiki.debian.org/ReproducibleBuilds

Reco



Re: Install or build an older gcc/g++ on new Debian (GCC backport)

2018-02-23 Thread Greg Wooledge
On Fri, Feb 23, 2018 at 05:57:59PM +, Bas Ali wrote:
> Just to need help for what concerning to build or/and install an older GCC on 
> a new Debian Distro (e.g 8.8 or 9.3)
> The goal is to be able to compile and build binaries on the New Debian with 
> an older GCC to keep backcompatibility of binaries program previously built 
> on Debian 7 (32bits Wheezy)  using the built-in GCC (4.7.2). Ideally the two 
> binaries built from a Debian 7 32bits and from Debian 8 64bits will be the 
> same byte a byte. 

Just install wheezy in a chroot and compile there, if you want to produce
programs that can run on wheezy.



Install or build an older gcc/g++ on new Debian (GCC backport)

2018-02-23 Thread Bas Ali

Hi,
Just to need help for what concerning to build or/and install an older GCC on a 
new Debian Distro (e.g 8.8 or 9.3)
The goal is to be able to compile and build binaries on the New Debian with an 
older GCC to keep backcompatibility of binaries program previously built on 
Debian 7 (32bits Wheezy)  using the built-in GCC (4.7.2). Ideally the two 
binaries built from a Debian 7 32bits and from Debian 8 64bits will be the same 
byte a byte. 
At this moment I know that it possible (but maybe not the good solution ?) to 
build a 4.7.2 GCC source with the Built-in GCC of a Debian 8.8 (64bits Jessie) 
but it appears that for > 4.5 GCC there is a need to build too other packages 
(MPC, MPFR,..) separately (using some option to built on good directory).
Is this method bellow correct ? 
I think there will be the main libraries (libgcc, libc, libstdc++,.. ) to check 
for changes from previous version etc...
 Do I need to install gcc-multilib because the 4.7.2 GCC was from a 32 bits 
machine ?Do I need to add Multi ARCH  (e.g.: dpkg  --add-architecture i386) ?
Thanks in advanceAli


Re: sort (-g) [offtopic]

2018-02-19 Thread rhkramer
On Monday, February 19, 2018 06:23:27 AM Will Mengarini wrote:
> * Ionel Mugurel Ciobica  [18-02/18=Su 16:55 +0100]:
> > [... How can something like
> > "III\nII\nI\nV\nIV\nVII\nVI\nVIII\nX\nIX"
> > [be sorted?  ...]
> 
> See `aptitude show msort`; it probably does what you need.

I'm not the OP, but, wow, thanks--looks like a very capable tool and sounds 
like it will work for some complex sorting that I was not looking forward to.

For kicks, I did call up the msort change log, and found that it does deal 
with Roman numerals:

See: http://www.billposer.org/Software/msort.html:


8.33
Numeric keys are no longer limited to the usual Indo-Arabic number system. 
Integers written in any of the following number systems are now accepted: 
Arabic, Arabic (South Asian), Bengali, Burmese, Chinese, Devanagari, Egyptian 
hieroglyphic, Ethiopic (Amharic and Tigrinya), Gujarati, Gurmukhi (Panjabi), 
Hebrew, Kannada, Klingon, Lao, Malayalam, Nko, Old Italic, Old Persian 
cuneiform, Oriya, Phoenician, Roman numerals, Tamil, Telugu, Tengwar, Thai, 
and Tibetan. The writing system for a key is specified by the -y flag. You may 
require a particular writing system, have msort autodetect the writing system 
but require all records to use the same writing system for that key, or have 
msort autodetect the writing system for each record independently. 
<\quote>

For me, that is not (at all) an important feature, but the feature to sort 
using (retaining) units (records) of arbitrary length (number of lines / 
paragraphs) marked in some way (some sort of delimiter) is probably the key 
feature (along with picking an arbitrary sort field, which will not be in the 
first line of a record.)


Re: sort (-g) [offtopic]

2018-02-19 Thread Greg Wooledge
On Sun, Feb 18, 2018 at 04:55:28PM +0100, Ionel Mugurel Ciobîcă wrote:
> Anyone care to explain what exactly means the -g option of sort? The
> fine manual only says "general numerical", but I doubt that is true,
> because -g (and all other options I have tried, -n, -M, -h, -V) will
> all put Roman numeral 9 in between 4 and 5. See here:

... hey, wait, it's not April yet!



Re: sort (-g) [offtopic]

2018-02-19 Thread Will Mengarini
* Ionel Mugurel Ciobica  [18-02/18=Su 16:55 +0100]:
> [... How can something like
> "III\nII\nI\nV\nIV\nVII\nVI\nVIII\nX\nIX"
> [be sorted?  ...]

See `aptitude show msort`; it probably does what you need.



Re: sort (-g) [offtopic]

2018-02-18 Thread Ionel Mugurel Ciobîcă
On 18-02-2018, at 14h 44'27", David Wright wrote about "Re: sort (-g) 
[offtopic]"
> Any script that reads stdin and writes stdout can be used in a pipe.
> That's one of the guiding principles of unix.

I change the scripts to use read if $# is zero. I could use them in
pipes now. But that is not helping me.

> 
> After they've done Roman numerals, they can settle down and do
> yan tan tethera in all dialects.
> https://en.wikipedia.org/wiki/Yan_Tan_Tethera

Well, I do not see those to use any symbols. It is like asking the
computer to sort numerically one two three four ... in whatever
language. This will fail.

Roman numerals never fail from usage, they should be considered, in my
opinion.

> You shouldn't sort like that. If you've got records to sort which have
> an unsortable field like Roman months, then write some thing in sed,
> say, that can do the conversion. Now read your records, say:
> field1 field2 XII field3 field4
> field1 field2 IV field3 field4
> and prefix each record with the numeric representation;
> 12 field1 field2 XII field3 field4
> 04 field1 field2 IV field3 field4
> Now sort that, then throw away the first field with cut. You should
> never have to worry about converting things back!

My programing capacities in sed or awk must be improved in order to
accomplish that. In the mean time, since I only need to move the 5th
line into 9th position (before 10) I can supliment the sort with a sed
pipe:

some input | sort -k2,2 | sed -e '5h;5d;10H;10x'

This of course if all the Roman numerals from 1 to 12 are present...
and only once..., hm...

Thank you for the hints, David.

Ionel



Re: sort (-g) [offtopic]

2018-02-18 Thread John Hasler
 David Wright writes:
> You shouldn't sort like that. If you've got records to sort which have
> an unsortable field like Roman months, then write some thing in sed

And Awk, as well as Sort, Cut, Join, and other record-oriented filters.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: sort (-g) [offtopic]

2018-02-18 Thread David Wright
On Sun 18 Feb 2018 at 16:55:28 (+0100), Ionel Mugurel Ciobîcă wrote:
> 
> Anyone care to explain what exactly means the -g option of sort? The
> fine manual only says "general numerical", but I doubt that is true,
> because -g (and all other options I have tried, -n, -M, -h, -V) will
> all put Roman numeral 9 in between 4 and 5. See here:
> 
> # echo "III\nII\nI\nV\nIV\nVII\nVI\nVIII\nX\nIX" | sort -g | nl
> 
> What I expect is to put 9 in between 8 and 10.
> 
> As I wrote above, I have tried -n as well. I tried -M because in
> Romanian often the months are written with Roman numerals (I to XII),
> but that also failed. -h and -V were not useful here either.
> 
> How do I sort in a pipe those roman numerals? I have written two bash
> scripts roman_to_arab.sh and arab_to_roman.sh, but I do not know how
> to adapt it to use it in pipes. Also, it may be too cumbersome to make
> the conversion to arab digits, sort with -n and then convert back into
> roman numerals...

Any script that reads stdin and writes stdout can be used in a pipe.
That's one of the guiding principles of unix.

Many commands take input from stdin, either be specifying no input
file or by using - as the filename. Same thing for output. Some use
a mixture, eg diff:
cat file1 file2 | diff - file3 | less
compares file1+file2 with file3 and pipes to less.

> Anyone has encounter this issue? Any ideas how to sort out this sort
> issue? Of course, the easier will be if, indeed, the sort -g would
> work as expected, e.g. if "_general_ numeric" will not be particular
> to exclude Roman numerals...

After they've done Roman numerals, they can settle down and do
yan tan tethera in all dialects.
https://en.wikipedia.org/wiki/Yan_Tan_Tethera

> At the moment I have to run this sort three times. First time to limit
> it before IX (with grep -v -e IX -e '^X'), second time just grep "IX",
> and third time to exclude all that starts with I and V: grep -v -e
> "^I" -e "^V", and then put all together, like this:
> 
> ( echo "III\nII\nI\nV\nIV\nVII\nVI\nVIII\nXI\nIX\nXII\nX" | sort -g | grep -v 
> -e "IX" -e '^X' ; echo "III\nII\nI\nV\nIV\nVII\nVI\nVIII\nXI\nIX\nXII\nX" | 
> grep -e "IX" ; echo "III\nII\nI\nV\nIV\nVII\nVI\nVIII\nXI\nIX\nXII\nX" | sort 
> -g | grep -v -e "^I" -e "^V") | nl

You shouldn't sort like that. If you've got records to sort which have
an unsortable field like Roman months, then write some thing in sed,
say, that can do the conversion. Now read your records, say:
field1 field2 XII field3 field4
field1 field2 IV field3 field4
and prefix each record with the numeric representation;
12 field1 field2 XII field3 field4
04 field1 field2 IV field3 field4
Now sort that, then throw away the first field with cut. You should
never have to worry about converting things back!

Basically, that throwaway prefix (it could itself be several fields)
could be a function of any complexity: the order of seats in a
theatre, the value of chess pieces, a lookup table of the order of
precedence of church clergy, whatever turns unsortables into
sortables.

> I exclude here larger numerals, because at the moment I do not need
> anything in that range...

No—handling Romanian month names and abbreviations might be more
useful. I once wrote an arabic→roman converter but that was just as
an exercise in returning variable length strings from OS/360 assembler
to Fortran IV.

> Using the unicode gliphs also doesn't work:
> 
> # echo "Ⅲ\nⅡ\nⅠ\nⅣ\nⅤ\nⅨ\nⅥ\nⅦ\nⅧ\nⅫ\nⅪ\nⅩ" | sort -g | nl

Again, simpler with sed. And don't forget the lower case set just
along the way.

Cheers,
David.



Re: sort (-g) [offtopic]

2018-02-18 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, Feb 18, 2018 at 04:55:28PM +0100, Ionel Mugurel Ciobîcă wrote:
> 
> Anyone care to explain what exactly means the -g option of sort? The
> fine manual only says "general numerical", but I doubt that is true,
> because -g (and all other options I have tried, -n, -M, -h, -V) will
> all put Roman numeral 9 in between 4 and 5. See here:
> 
> # echo "III\nII\nI\nV\nIV\nVII\nVI\nVIII\nX\nIX" | sort -g | nl
> 
> What I expect is to put 9 in between 8 and 10.


The info documentation has more (alternative, you can look
that up on the web, as stated in the man page itself).

Extracted from the info:

  ‘-g’
  ‘--general-numeric-sort’
  ‘--sort=general-numeric’
 Sort numerically, converting a prefix of each line to a long
 double-precision floating point number.  *Note Floating point::.
 Do not report overflow, underflow, or conversion errors.  Use
 the following collating sequence:

  • Lines that do not start with numbers (all considered to be
equal).
  • NaNs (“Not a Number” values, in IEEE floating point
arithmetic) in a consistent but machine-dependent order.
  • Minus infinity.
  • Finite numbers in ascending numeric order (with -0 and +0
equal).
  • Plus infinity.

 Use this option only if there is no alternative; it is much slower
 than ‘--numeric-sort’ (‘-n’) and it can lose information when
 converting to floating point.

So '-g' basically means (decimal representation of) float, plus a
couple of NaNs. No roman numerals, alas...

[...]

> How do I sort in a pipe those roman numerals? I have written two bash
> scripts roman_to_arab.sh and arab_to_roman.sh, but I do not know how
> to adapt it to use it in pipes. Also, it may be too cumbersome to make
> the conversion to arab digits, sort with -n and then convert back into
> roman numerals...

I fear sort is out of its smarts on that. There are libraries for
different languages to do this, e.g. Perl's Roman.pm (in Debian
package libperl-roman).

> Anyone has encounter this issue? Any ideas how to sort out this sort
> issue? Of course, the easier will be if, indeed, the sort -g would
> work as expected, e.g. if "_general_ numeric" will not be particular
> to exclude Roman numerals...

I guess your idea of "general" is just too general to be practical :)

Cheers
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlqJrS0ACgkQBcgs9XrR2kZo4ACcDkY4H1RzyWYaQnQF7E/PfLN9
AbsAmgPSPyn7r5kWyTH7CFOir/OMPAwo
=SXF9
-END PGP SIGNATURE-



sort (-g) [offtopic]

2018-02-18 Thread Ionel Mugurel Ciobîcă

Anyone care to explain what exactly means the -g option of sort? The
fine manual only says "general numerical", but I doubt that is true,
because -g (and all other options I have tried, -n, -M, -h, -V) will
all put Roman numeral 9 in between 4 and 5. See here:

# echo "III\nII\nI\nV\nIV\nVII\nVI\nVIII\nX\nIX" | sort -g | nl

What I expect is to put 9 in between 8 and 10.

As I wrote above, I have tried -n as well. I tried -M because in
Romanian often the months are written with Roman numerals (I to XII),
but that also failed. -h and -V were not useful here either.

How do I sort in a pipe those roman numerals? I have written two bash
scripts roman_to_arab.sh and arab_to_roman.sh, but I do not know how
to adapt it to use it in pipes. Also, it may be too cumbersome to make
the conversion to arab digits, sort with -n and then convert back into
roman numerals...

Anyone has encounter this issue? Any ideas how to sort out this sort
issue? Of course, the easier will be if, indeed, the sort -g would
work as expected, e.g. if "_general_ numeric" will not be particular
to exclude Roman numerals...

At the moment I have to run this sort three times. First time to limit
it before IX (with grep -v -e IX -e '^X'), second time just grep "IX",
and third time to exclude all that starts with I and V: grep -v -e
"^I" -e "^V", and then put all together, like this:

( echo "III\nII\nI\nV\nIV\nVII\nVI\nVIII\nXI\nIX\nXII\nX" | sort -g | grep -v 
-e "IX" -e '^X' ; echo "III\nII\nI\nV\nIV\nVII\nVI\nVIII\nXI\nIX\nXII\nX" | 
grep -e "IX" ; echo "III\nII\nI\nV\nIV\nVII\nVI\nVIII\nXI\nIX\nXII\nX" | sort 
-g | grep -v -e "^I" -e "^V") | nl


I exclude here larger numerals, because at the moment I do not need
anything in that range...

Using the unicode gliphs also doesn't work:

# echo "Ⅲ\nⅡ\nⅠ\nⅣ\nⅤ\nⅨ\nⅥ\nⅦ\nⅧ\nⅫ\nⅪ\nⅩ" | sort -g | nl

either with -n, -V, -M, -h, etc.


Thanks,
 Ionel



Re: g++ can't build "Hello World" programm

2017-10-18 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Oct 19, 2017 at 02:01:18AM +0600, Evgeny wrote:
> Problems gone when i reinstalled libc6-dev, now hello world compiling fine,
> but the problem is that after removing lib6c-dev a lot of other packages
> was deleted and when I trying to install them back I have error (Unable to
> correct problems, you have held broken packages)

Phew :-)

You might try

  apt-get -s install --fix-broken

(the -s is for "simulate": then you can see what apt-get would do. You don't
need sudo while simulating).

If you like what the system proposes, then

  sudo apt-get install --fix-broken

> Anyway, thanks a lot, I finally figured it out

Glad you found it!

Cheers
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlnnuf8ACgkQBcgs9XrR2kZaXgCfTrOwIWGgJ2z/B16EZsfelSX0
q0sAoIEEilHIiTIRjMDdReDpNvG96ovG
=nlbf
-END PGP SIGNATURE-



Re: g++ can't build "Hello World" programm

2017-10-18 Thread Thomas Schmitt
Hi,

Evgeny wrote:
> any
> "bits/locale.h" among indlude files that you listed have already existed in
> my system. but g++ continue give me error message that there is no such file
> or directory

What do you get from

  g++ -o test -H test.cpp

If i rename my local
  /usr/include/x86_64-linux-gnu/bits/locale.h
then i get exactly your error message:

  ... /usr/include/locale.h
   /usr/lib/gcc/x86_64-linux-gnu/4.9/include/stddef.h
  In file included from /usr/include/c++/4.9/clocale:42:0,
 from /usr/include/x86_64-linux-gnu/c++/4.9/bits/c++locale.h:41,
 from /usr/include/c++/4.9/bits/localefwd.h:40,
 from /usr/include/c++/4.9/ios:41,
 from /usr/include/c++/4.9/ostream:38,
 from /usr/include/c++/4.9/iostream:39,
 from test.cpp:1:
  /usr/include/locale.h:29:25: fatal error: bits/locale.h: No such file or 
directory

My g++ version is like yours
  g++ (Debian 4.9.2-10) 4.9.2


> -I/way-to-the-missing-lib,

The path up to but not including "bits" idid not help ?
Like:

  -I /usr/include/x86_64-linux-gnu/


> What can it be?

Is the the file name invisibly altered ?
What do you get when explicitely asking for its path:

  ls -ld '/usr/include/x86_64-linux-gnu/bits/locale.h'


Have a nice day :)

Thomas



  1   2   3   4   5   6   7   8   9   10   >