output
stringlengths
9
26.3k
input
stringlengths
26
29.8k
instruction
stringlengths
14
159
I figured it out. I was editing the /etc/auto.master on the server when I should have been doing it on the client. That is, on the client add the following to /etc/auto.master /home/ /etc/auto.homeStill on the client, create the /etc/auto.home file and add the following to it * -nfs4,rw &:/home/&Finally resta...
I am having issues getting autofs to mount user's home directories via NFS. I have an NFS client (client.home) and an NFS server (server.home). Both systems are CentOS 7.4. SELinux is running in permissive mode on both systems. Can anyone point me into the right direction so I can automount user's home directories? NF...
Autofs Issues Mounting NFS Home Directories (CentOS 7.4) [closed]
Found this in my notes, from when I ran into this same thing:Set SELinux boolean to allow Apache to access CIFS shares: # setsebool -P httpd_use_cifs on
I'm on CentOS 6.6 and I'm having a strange problem with autofs. I'm trying to mount an smb share on /var/www/html/mysite/docfolder, so I created a docfolder inside the mysite folder, ran chmod 777 on it, then added: /var/www/html/mysite/docfolder /etc/auto.docfolder --ghostin /etc/auto.master . Then i created auto.doc...
autofs 'failed to mount autofs path' as service but not manually (selinux)
Here's what I came up with: #!/bin/bash key="$1" [ -b /dev/${key} ] && { fstype=`sudo blkid -s TYPE "/dev/$key" -o value` opts="-fstype=$fstype,rw" echo "$opts :/dev/${key}"; }
Does anyone have a more comprehensive /etc/auto.disks script for autofs that takes into consideration all mounted disks, even NTFS, FAT32? So all that's needed to mount any attached drive is ls /mnt/sda1 or ls /mnt/sdb2? This guide along the line of what I'm looking for, except this guy only accesses ext3 drives.
Comprehensive /etc/auto.disks script for autofs that takes into consideration all mounted disks, including NTFS and FAT32?
Here are a couple of ways to monitor accesses to particular files. I'm not completely sure how they'll interact with an automounter, but they probably will work.Put a LoggedFS filesystem on the automount directory (/amnt or whatever), and configure it to look out for /amnt/tmp_dir. Start from the provided configuratio...
Is there a way to find out what is trying to mount this file?Jul 13 14:27:24 myhost automount[13527]: lookup(file): lookup for tmp_dir failedSomething is looking for "tmp_dir", and I've grepped a bunch of places but cannot find what script, program, etc... is looking for the file/dir and is causing automount to try ...
Automount lookup failed. How to determine what is trying to access the file?
The problem is that you are using /dev/sdb in your automount definition, which is the device name for the whole drive, not an individual partition. Pick /dev/sdb1 or /dev/sdb2, and it will mount. Also, you are using /run/media as the mount point, which the udisks2 service also uses. It will create its own mount poin...
I have a laptop with an extra internal HDD and external HDD via USB that I would like to automount using autofs. Here is my auto.master: /mnt/ /etc/auto.ext-int /run/media/ /etc/auto.ext-usbAuto.ext-int, which is for the internal HDD, contains: external -fstype=auto :dev/sda1Auto.ext-usb, which is for the ex...
autofs/automount not mounting an external HDD
See page 37 of the BoostFS for Linux Configuration Guide. In there, you will see a section on using mount. For your environment, the mount command would be mount -t boostfs datastore.company.com:Commvault /cvdisk. In /etc/fstab terms: datastore.company.com:Commvault /cvdisk boostfs defaults 0 0
I'm working with the DataDomain server in our Commvault solutions. Anytime this server is rebooted the network disk in use for the solution does not remount. Right now this means we need to stop some processes then run: boostfs mount -d datastore.company.com -s Commvault /cvdiskI didn't see a way to mount with fstab ...
Automatically remount boostfs drive
What is a bind mount? A bind mount is an alternate view of a directory tree. Classically, mounting creates a view of a storage device as a directory tree. A bind mount instead takes an existing directory tree and replicates it under a different point. The directories and files in the bind mount are the same as the ori...
What is a “bind mount”? How do I make one? What is it good for? I've been told to use a bind mount for something, but I don't understand what it is or how to use it.
What is a bind mount?
Bind mount is just... well... a bind mount. I.e. it's not a new mount. It just "links"/"exposes"/"considers" a subdirectory as a new mount point. As such it cannot alter the mount parameters. That's why you're getting complaints: # mount /mnt/1/lala /mnt/2 -o bind,ro mount: warning: /mnt/2 seems to be mounted read-wri...
On my Arch Linux system (Linux Kernel 3.14.2) bind mounts do not respect the read only option # mkdir test # mount --bind -o ro test/ /mnt # touch /mnt/foocreates the file /mnt/foo. The relevant entry in /proc/mounts is /dev/sda2 /mnt ext4 rw,noatime,data=ordered 0 0The mount options do not match my requested options,...
Why doesn't mount respect the read only option for bind mounts?
Bind mounts are not a filesystem type, nor a parameter of a mounted filesystem; they're parameters of a mount operation. As far as I know, the following sequences of commands lead to essentially identical system states as far as the kernel is concerned: mount /dev/foo /mnt/one; mount --bind /mnt/one /mnt/two mount /de...
Rather than using mount | grep, I'd like to use mount -l -t bind, but that doesn't work, and -t none shows all mounts.
List only bind mounts
You can't do that with the Linux bind mount kernel feature. But you can do it with the FUSE filesystem bindfs. Bindfs is slower than bind mounts and doesn't pass extended attributes, but on the flip side, it can be used by non-root users and on Unix variants other than Linux, and most importantly for you, allows simpl...
I'm using fstab to bind a folder that belongs to another user in one of my own directories. I know that I can map users when I mount an SSHFS, I've been doing some research and I can't find a mount --bind equivalent. Is there any way I can mount another user's folder and files as my own? Update: It doesn't necessarily...
mount --bind other user as myself
I found the solution myself. I simply just need to use --make-rslave to make any changes in A_dir/mount_b not propagate back to B_dir: sudo mount --make-rslave A_dir/mount_b sudo umount -R A_dir/mount_bSee mount man page section The shared subtree operations.
Asked on serverfault but didn't get enough attention, so reposted here, with the hope some people here know the answer. There is another question discussing about umounting rbind mounts, but the solution has unwanted effect. Consider the following directory layout: . ├── A_dir │ └── mount_b ├── B_dir │ └── mount_...
Unmount a rbind mount without affecting the original mount
The difference is that / has child mounts. Inside a user namespace, you are not allowed to separate inherited mounts from their child mounts. A more obvious example is that you are not allowed to umount /proc. Otherwise, it could suddenly grant you access to files that were hidden underneath other mounts. Overmoun...
Why doesn't this work? $ unshare -rm mount --bind / /mnt mount: /mnt: wrong fs type, bad option, bad superblock on /, missing codepage or helper program, or other error.These work ok: $ unshare -rm mount --bind /tmp /mnt $ unshare -rm mount --bind /root /mnt $$ uname -r # Linux kernel version 4.17.3-200.fc28.x86_64
Why can't I bind-mount "/" inside a user namespace?
If you are on a systemd-based distribution with a util-linux version less than 2.27, you will see this unintuitive behavior. This is because CLONE_NEWNS propogates flags such as shared depending on a setting in the kernel. This setting is normally private, but systemd changes this to shared. As of util-linux 2.27, a p...
So I'm trying to get a handle on how Linux's mount namespace works. So, I did a little experiment and opened up two terminals and ran the following: Terminal 1 root@goliath:~# mkdir a b root@goliath:~# touch a/foo.txt root@goliath:~# unshare --mount -- /bin/bash root@goliath:~# mount --bind a b root@goliath:~# ls b f...
Why is my bind mount visible outside its mount namespace?
If you are using systemd, mounts are done in parallel (by dynamically converting the fstab entries into mount units), line ordering is not preserved as would be expected from pre-systemd experience. You have an untold dependency that's not automatically guessed: mounting /data/ before mounting /usr. WIthout it you get...
I'm running a modified WD MyCloud (Gen 1) NAS with Debian 8 (Jessie) installed on it. Due to the nuances of the device, I can't resize the root partition, and am struggling with space on it. To remedy this, I've rsynced the /var and /usr directories on to the main data partition. I've then added the following lines to...
/etc/fstab fails to bind mount on boot, but running mount -a works correctly
There's a disappointing lack of comments in the code. It's as if no-one ever thought it useful, since the time bind mounts were implemented in v2.4. Surely all you'd need to do is substitute .mnt->mnt_sb where it says .mnt...Because it gives you a security boundary around a subtree.PS: that had been discussed quite ...
Original Problem I have a file on one filesystem: /data/src/file and I want to hard link it to: /home/user/proj/src/file but /home is on one disk, and /data is on another so I get an error: $ cd /home/user/proj/src $ ln /data/src/file . ln: failed to create hard link './file' => '/data/src/file': Invalid cross-device ...
Why can't I create a `hardlink` to a file from a "mount --bind" directory on the same filesystem?
It's safe to unmount one of the bind-mounted copies. After you run mount --bind /foo /bar, the kernel doesn't keep track of which of /foo or /bar came first, they're two mount points for the same filesystem (or part of a filesystem). Note that if /foo is a mount point but /foo/wibble isn't, mount --bind /foo/wibble /b...
I have a home partition which is shared by mulitple distros on the same box. I'm using bind mounts from fstab. Each Linux install has something like this: UUID=[...] /mnt/data ext4 nodev,nosuid 0 2 /mnt/data/arch /home none defaults,bind 0 0 /mnt/data/files /files none defaults,bind 0 0The di...
Umount device after bind mounting directories: is it safe?
Well, this seems to be a very interesting effect, which is a consequence of three mechanisms combined together. The first (trivial) point is that when you redirect something to the file, the shell opens the target file with the O_CREAT option to be sure that the file will be created if it does not yet exist. The secon...
A common scenario for setting up a container/sandbox is wanting to create a minimal set of device nodes in a new tmpfs (rather than exposing the host /dev), and the only (unprivileged) way I know to do this is by bind-mounting the desired ones into it. The commands I'm using (inside unshare -mc --keep-caps) are: mkdir...
Why do bind mounts of device nodes break with EACCES in root of a tmpfs?
Your problem: /myhdd ... /mnt/myhdd/... /mnt/myhdd/...It should read either: /mnt/myhddd ... /mnt/myhdd/... /mnt/myhdd/...or... /myhdd ... /myhdd/... /myhdd/...
I'm messing around with having both /home and /var on a separate partition which will be mounted in /myhdd. Next, I use mount --bind to mount /var on /myhdd/var and /home on /myhdd/home. With this configuration I am able to successfully install Arch Linux, but as soon as I boot to the installed system /var and /home a...
bind mount /var with fstab
1.) /sys is not a real on-disk filesystem: it is a representation of and a means to access kernel internal state in the form of a virtual filesystem. It is entirely RAM-based and there is no point in storing the contents of /sys on disk. In a certain sense you might say that /sys is regenerated from scratch each time...
I was going through the Gentoo Handbook in preparation for installing Gentoo on my system. In the Chrooting section, these commands are given: mount --rbind /sys /mnt/gentoo/sys mount --make-rslave /mnt/gentoo/sys mount --rbind /dev /mnt/gentoo/dev mount --make-rslave /mnt/gentoo/devThese are the doubts I have regard...
What is the purpose of bind mounting (rbind specifically) /sys?
The primary differences between a virtual copy of the file system and a symbolic link are that the getcwd(3) functions work correctly in the virtual copy,getcwd’s behaviour with symlinked directories is a fairly well-known gotcha, documented in Advanced Unix Programming for example (see this SO question for a quo...
In FreeBSD, man mount_nullfs states that:The primary differences between a virtual copy of the file system and a symbolic link are that the getcwd(3) functions work correctly in the virtual copy, and that other file systems may be mounted on the virtual copy without affecting the original. A differe...
Meaning of statement that 'getcwd functions work correctly' in FreeBSD man page for mount_nullfs?
Walking through the source code, I found exactly one ENOENT that was relevant, i.e. for an unlinked directory entry: static int attach_recursive_mnt(struct mount *source_mnt, struct mount *dest_mnt, struct mountpoint *dest_mp, struct path *parent_path) { [...] /* Preallocate ...
I do not understand why I get ENOENT when bind-mounting after unlink: kduda@penguin:/tmp$ echo hello > a kduda@penguin:/tmp$ touch b c kduda@penguin:/tmp$ sudo unshare -m root@penguin:/tmp# mount -B a b root@penguin:/tmp# rm a root@penguin:/tmp# cat b hello root@penguin:/tmp# mount -B b c mount: mount(2) failed: No su...
Why does bind mounting a file after unlink fail with ENOENT?
I think you're looking for mount -l.
I have mounted a directory to another directory using mount --bind so that an sftp user of my server can access this directory. mount --bind /path/share /path/home/user/stuff I have put this in /etc/fstab and it is working great. If I cd into the mounted directory and do pwd, it seems as if the directory is actually, ...
pwd: show mountpoint
I am making the assumption that you do not strictly require the mounts visible to the init process (pid 1) and that the mounts visible to the docker daemon are sufficient. Normally, they should both have the same mount namespace. Answer for CentOS docker package (Using docker 1.13.1 from the CentOS repository) I can r...
I need the mountpoints of all disks attached to a host inside a docker container. The mount information is available in /proc/1/mounts file, but I cannot access that file on all OS. When I run the following on Ubuntu it's working fine. docker run -it -v /proc/1/mounts:/tmp/mounts ubuntu:16.04 But on CentOS with SELin...
How to get mount information of host inside a docker container
One option is to use a distro with a merged /usr; then you can mount /usr RO and the rest RW, and have most of the relevant stuff RO. This doesn't catch /etc, though, which you might want. Not quite a solution, more a workaround. Another is to make a single BTRFS volume with subvolumes for all the mounts you want, the...
My objective is to have the physical storage for the Linux FHS read/write directories (/home, /srv, /tmp, /var) on a separate (logical or physical) disk from the potentially read-only rest of the root file system. I know I can create four partitions on my second disk and use each partition for one of the beforemention...
How to split FHS read-only and read/write directories across two disks with Linux/systemd, without partitioning the raed/write disk?
/media/user/apps/opt /opt none bind,x-systemd.requires=/media/user/appsShould do the trick. There are two more options that help doing a safe successive mounting, because when we need to specify order dependencies between mount commands and other units.x-systemd.after x-systemd.beforeSo we can add /media/user/apps/opt...
I mount successively two points using fstab in my linux system # Mounting apps drive UUID=c54ca7da-117d-4cb2-8897-019ba4f6f12d /media/user/apps ext4 defaults 0 2 # Mounting opt based on apps mountpoint /media/user/apps/opt /opt none bindAs you can see, the second mountpoint /opt is mounted on the previous mounted part...
Mounting successively in fstab: wait for partition to be mounted?
You should be able to see that new mounts stop being copied, if you run mount --make-private on the mount point. The difference when running bash as init, is that the source filesystem has been mounted as private.[*] Whereas booting the full system is effectively running --make-shared. You can see the difference by...
It hasn't always behaved this way, but nowadays I get this inconsistent behaviour. Bind mounts don't copy existing mounts (unless you use --rbind), but new mounts (and unmounts) get copied automatically. It seems like a bug. What causes this? # mount --bind / /mnt/tmp # mount | grep /mnt /dev/mapper/fedora-root on ...
Mounting new filesystem affects non-recursive bind mounts?
Mount propagation. This is a specific case of the "mount point explosion problem", which is explained in the "MS_UNBINDABLE example" in mount_namespaces(7) systemd effectively enables mount propagation by default. For example, this makes it feasible to run a service in a child namespace where /home is blocked off, as...
Why does a repeated bind mount create multiple entries in /proc/mounts? # md -p /mnt/test-mount/{source,target} # mount --bind /mnt/test-mount/{source,target} # grep test-mount /proc/mounts /dev/sda3 /mnt/test-mount/target ext4 rw,relatime 0 0 # mount --bind /mnt/test-mount/{source,target} # grep test-mount /proc/mou...
Why do repeated bind mounts create entries for the source directory?
Please note that doing any mount in /tmp is hazardous, because some cleaning task might suddenly decide to do its work in /tmp and not care about mountpoints, thus wiping old files not actually belonging to /tmp. That said I'll use the /tmp examples from OP.method 1: If you're in full control of the NFS environment, j...
While trying to create a test environment using mount --bind I was surprised to find that it sometimes fails with permissions errors because root cannot access the source directory. This only appears to affect NFS file-systems. Is there a way to mount --bind a directory which root cannot access? Perhaps by inode numbe...
How to create a mount --bind when root does not have permission to access the source directory?
From List only bind mounts, it seems that bind mounts cannot be distinguished from the original after mounting. While partial binds (where a subdirectory of a mount point is bind mounted somewhere) do show up differently in findmnt output, there's no distinguishing a mountpoint that was bind mounted elsewhere. So if I...
In a bash script I have the following lines: TARGETS="$(findmnt -n -v -t btrfs -o TARGET --list)" UUIDS="$(findmnt -n -v -t btrfs -o UUID --list)"I run this script on some servers (running Arch Linux). However, it fails on NFS servers. In that case, findmnt returns multiple mount points for a given UUID (due to bind m...
How to exclude bind mounts from findmnt results list?
I have found that mounting with the rbind (rather than bind) option in the lxc mount line solves the issue (syntax for proxmox): lxc.mount.entry: /tank/media media none rbind,create=dir,optional 0 0Going off the RedHat documentation on sharing mounts, rbind achieves replication of mounts on the source in the bound dir...
I have a number of ZFS sub-filesystems (so that I can granularly manage snapshots and ZFS options) like so: tank/media tank/media/pictures tank/media/pictures/photos tank/media/movies tank/media/music tank/media/documents tank/media/documents/publicI am running Debian GNU/Linux 8.6 (jessie) with ZFS-on-Linux, kernel 4...
How can I automatically make ZFS filesyatems mount shared / rshared?
You stipulate that you are allowed to run sudo mount with any arguments. In that case, unless I misunderstand your question, it seems to be trivially easy to gain root access: just create a disk image that contains a setuid-root binary and mount it with sudo mount -o loop! After all, anyone can create a disk image, it...
I have been experimenting with privilege escalation using the mount command and would like to know if it is possible to create a suid file owned by root without having access to any external device. i.e. I'm trying to find a way to do one the following:bind mount /bin/bash to another file, so that I can set the suid b...
Is it possible to mount a file with different ownership/permissions?
There are two things at play here:Directory permissions. Mount options.The directory permissions are independent of the fact that the mount was read-only. Hence, ls will still list the permissions assigned to the folder, without regards for how it was mounted. In the same way, if I mount a folder with noexec, ls will ...
Please read the following steps to understand my problem, Execute following commands mkdir ~/src mkdir ~/destinationsudo mount ~/src ~/destination --bind -o rosrc folder has been bind mounted to destination folder. When I view the destination folder with nautilus it is read only. But the ll command gives same file per...
ls -la doesn't display correct permission for a mount --bind folder
The underlying directory that mount_nullfs mounts over is not traversable to the user. Unmount the nullfs and make sure that users are still able to traverse the directory: chmod 755 /path/to/unmounted/nullfsIt seems that when traversing away from a filesystem using cd .., the permissions of the underlying directory ...
I have the following set-up: FreeBSD 10.3 with ZFS on root. A ZFS volume hierarchy (multiple volumes nested in each other, for lack of a better name) is duplicated using mount_nullfs in order to make it available to multiple jails at once. When I try to use find as a normal user on the nullfs-mount I get the followin...
find: fts_read: Permission denied through mount_nullfs
I have found the answer. As can be seen in the below excerpts from the kernel source code, if any of the flags NODEV, NOSUID, NOEXEC, and/or ATIME are already set, I will need to preserve (i.e. continue to set) them in my second call to mount(). From fs/namespace.c in the Linux kernel source code: /* * Handle reconfi...
In a Linux user namespace, as non-root, I bind mount /tmp/foo to itself. This succeeds. Then, I try to remount /tmp/foo to be read-only. If /tmp is mounted with nosuid or nodev, then the remount fails. Otherwise, the remount succeeds. Is there some reason why nosuid and/or nodev prevent the remount from succeeding?...
In a user namespace as non-root, on a nosuid,nodev filesystem, why does a bind mount succeed but a remount fails?
The command mount --fstab /pathToFile.fstabis the same as mount with no options when using the standard fstab file, i.e. "list mounted filesystems". To actually mount all automountable filesystems specified in a custom fstab file similar to using mount -a with the standard fstab files, you'll need to use the --fstab ...
I need to use an alternative fstab file for mounting a folder in another folder, like the command mount --bind /folder1 /folder2I tried the command mount --fstab /pathToFile.fstabas stated in the man:-T, --fstab path Specifies an alternative fstab file. If path is a directory then the files in the directory are sor...
Mounting using alternate fstab file
The following works in /etc/fstab: UUID=xyz /mnt ext4 defaults,nofail 0 2 /mnt/var_folder /var/folder none bind 0 0 /mnt/etc_folder /etc/folder none bind 0 0I just need to mount the whole volume to one location e.g. /mnt, keep i...
I'm trying to mount /etc/folder and /var/folder to the same external volume UUID=xyz. This external volume already has subdirectories etc_folder and var_folder and has been formatted and available to mount. I want to change fstab and achieve something like the following, before doing "mount -a": UUID=xyz:/etc_folder /...
Mounting two folders to corresponding directories within external volume?
Well, your /etc/fstab file does not seem to have bind mount-point configured. Be so kind and add the following line: /home/michael/testing/gateway/repo /home/jail/home/public/repo none bind,ro 0 0.Then, I would type the following command to verify, if mountpount is persistent and works.mount /home/jail/home/public/rep...
I wish to make the following mount permanent: [michael@devserver ~]$ findmnt | grep public └─/home/jail/home/public/repo /dev/mapper/centos-root[/home/michael/testing/gateway/repo] xfs ro,relatime,attr2,inode64,noquota [michael@devserver ~]$I created this mount using the following: sudo mkdir /home/jail...
Editing /etc/fstab to permanently bind mount directory
Yes. Well, I've made a quick test on my system, mounting a NTFS partition from Windows onto a directory in a XFS Linux partition, and it worked okay. You have to do this operation as root.
Does the command mount -o bind allow mounting a folder from a different file system (vfat, ntfs) to a folder in Linux native partition?
Bind Mounting across different file systems
du -x (at least GNU and busybox du) is fooled by Linux bind-mounts because files have the same device-id, so you'd need to prune the mount-points by hand. With GNU du: du -xhs --exclude=./bind/mount/pointAlternatively, you could use GNU find to find the files and print their disk usage, calling the mountpoint command...
I want to calculate a directory size with all its subdirectories. But I had made some of the subdirectories to mount from a mount point. (using mount -B/--bind) when I use du -hks the returned size includes the mounted directories. Is there a way to eliminate their size from the result? Edit: The Directories I calcula...
Calculating directory size without subdirectories bind-mounted from the same device
A shell-only solution would be: For interactive shell: # unshare --mount # mount --bind /MyDir/MySubDir/b /MyDir/a # non-interactively, before a script that doesn't have to know about these settings: # unshare --mount sh -c 'mount --bind /MyDir/MySubDir/b /MyDir/a; exec somethingelse'The unshare manpage also warns abo...
I have 2 files: /MyDir/a and /MyDir/MySubDir/b and am running a bash script, to which I want to add code to make file /a point to file /b, but only in the current process and its descendants. In hopes of making /MyDir/a point to /MyDir/MySubDir/b in the context of only the current process (not including its descendant...
Making a bind-mount take effect only in the context of the current process and its descendants
56 24 253:5 / /mnt/container 57 24 253:5 /subdir /tmp/abcGiven the information for mount #57, how I am able to deduce, that mount #57 is a bind mount of a subdirectory of mount #56?It's not. You don't deduce that. The two mounts are only related by being mounts of the same filesystem/device (253:5); it's not that any o...
I have an encrypted container containing an ext4 filesystem with a subdirectory which is bind-mounted at a later point in time. If I take look at /proc/self/mountinfo, the root-directory for the mount has a value I do not know the reason for. Steps to reproduce: cd /tmp fallocate -l 1G container.luks cryptsetup luksFo...
Bind-mount and cryptsetup result in truncated root-path in /proc/self/mountinfo
yes, bind is capable of enforcing nosuid even if the target has suid. here's a test i ran: C source code of a.out: #include <stdio.h> #include <unistd.h> #include <sys/types.h> int main(){ uid_t uid=getuid(), euid=geteuid(); printf("uid: %u, euid: %u\n",uid,euid); return 0; }and then root@ratma:/# mount -o bind,nosui...
if i have /target mounted with suid and then make a bind-mount on /bound with mount -o bind,nosuid /target /bound, will nosuid take effect on /bound ? (imo it should take effect but i'd still like a definite answer, and nobody else had asked yet here or so it seems)
does nosuid work on bind-mounts to suid partitions?
mount --bind takes two arguments: the path to replicate and the location where it is to be replicated. You seem to be trying to make multiple replicas; to do this, you need to issue multiple mount --bind commands. for d in /var/www/official/*/*/vendor; do mount --bind /var/my/vendor "$d" done
I have multiple folders that share the same path pattern which I would like to mount them all with a single command if possible. The command I tried is: sudo mount --bind /var/my/vendor /var/www/official/*/*/vendorHowever, it doesn't seem to work. I didn't get any specific error but it seems like I just used the wron...
How to mount multiple folders which share the same path pattern?
You can take a look at OverlayFS, or on some distributions the still available aufs. Here's the description of OverlayFS in the Linux kernel documentation:Overlay Filesystem This document describes a prototype for a new approach to providing overlay-filesystem functionality in Linux (sometimes referred to as union...
In case you needed to know, I'm on a GNU+Linux distro with kernel version 5.5.5. So, suppose I have a directory named base. Further suppose this directory only contains one empty file, named a. Ideally, I'd like to fork that directory retaining its content into a new directory named fork. Then, I'd write something ...
How to mount (bind) in a one-way writing fashion
This issue for the upstream project systemd would seem to indicate that what you're trying to do is not possible, and they aren't going to add it, mainly due to limitations with how the kernel works.Mount unit with 'bind' type does not remounted on parent remount #6542excerptplease note that bind mounts after they hav...
I have the following mount and automount units enabled for my external USB drive. Mount Unit: [Unit] Description=Time Machine Drive Mount Service[Mount] What=/dev/disk/by-uuid/some-uuid Where=/media/timemachine Type=hfsplus[Install] WantedBy=multi-user.targetAutomount Unit: [Unit] Description=Time Machine Drive Automo...
How to tell systemd to create a bind mount when plugging in an automounted drive?
As @RamanSailopal suggested, the answer was (of course) in dmesg. The root of the problem was that systemd creates unit files from fstab entries, and for whatever reason, they must have a filename that maps to the mountpoint. In other words, multiple mounts per mountpoint are disallowed. I worked around this by creati...
I have a custom, non-default Ubuntu installation, where I use my other Linux distro's boot manager (rEFInd). As such, I don't want Ubuntu to see my EFI partition, on the principle that it has no business to what's there (which has already saved my ass last night when I did an rm -rf /*...). However, because I'm using ...
Shadow bind mount in fstab
Why they were mounted to stage3? Because you bind-mounted stage3 onto gentoo and stage3 propagation flag is set to shared (verify this with: findmnt -o PROPAGATION stage3)How could I unmount those? Every mountpoint is busy. You've just spawned a chroot on the mounted tree. If you want to unmount the tree while the chro...
Trying to use a chrooted system via mount -B stage3 gentoo mount -t sysfs none gentoo/sys mount -t proc none gentoo/proc mount -R /dev gentoo/dev mount --make-rslave gentoo/dev unshare --fork chroot gentoo umount -R gentooAfter the last umount, dev, dev/pts, dev/shm, dev/mqueue, dev/hugepages were still mounted under ...
How to unmount a mountpoint with rbind and rslave?
You could try the debian usbmount package. The script /usr/share/usbmount/usbmountis triggered by udev when a USB storage device is connected, according to the rules in /lib/udev/rules.d/usbmount.rules. It looks for e.g. the UUID of the device, and mounts according to entries in the /etc/fstab (which, of course, shoul...
I was trying to attach specific USB drive to home folder of the user. I have installed vsftpd, but Kodi can't move on upper hierarchy. So he can't access /media folder, but FileZilla can. My USB is automounted by system when I connect it,as /media/DRIVE, always with same name. I'm trying to create symlink ln -s /media...
Bind USB drive to home directory on demand
Asked this question in the systemd-devel mailing list, and got a definitive answer from Lennart. http://lists.freedesktop.org/archives/systemd-devel/2015-November/035043.html Pasting here the answer, for posterity.No, there is not. And I don't really see this a strong enough usecase to make it something native. Sorr...
BACKGROUND INFORMATION : I have an init script that allows me to mount a folder to tmpfs, while bind-mounting the folder on drive to another location, so I can sync the contents (on startup, shutdown, and when needed) between the tmpfs and the original folder on system drive. It's used mostly to move to ram the folder...
migrating to systemd a startup-shutdown script that works with tmpfs and bindmounts
Because a and b are involved in a mount point, you can't use mv. However, you could overwrite it with cp. Or, instead of bind mounting onto b, you could bind mount the parent directory.
Suppose I bind-mount file a atop file b... $ echo 'line 1' > a $ touch b $ mount --bind a bThe initial file contents will be mirrored at both paths, as expected: $ cat a line 1$ cat b line 1And if I concatenate to either path, the new contents will be mirrored both ways, as expected: $ echo 'line 2' >> a$ cat a line 1...
Can a file that's being supplied by bind-mount support overwriting via `mv`?
It is hard to explain it with language elements (at least with my english skills) - so I decided to make an example based answer: The root directory is often called the highest or uppest directory. This is only partially true. This directory is assumed as the highest directory. You could describe it with "from this d...
From the proc manual it names the 4th column of mountinfo as "root", and describes it as "the pathname of the directory in the filesystem which forms the root of this mount". But how to understand it? I thought the basic elements of a mount is the source and the target path, since the "mount source" is the 10th column...
What does the 4th column (root) in /proc/.../mountinfo mean?
Okay, wow, turns out all I had to do was run bluetoothctl power on
my raspberry pi 3 model B, running Arch, has an issue with bluetooth. First of all:Bluetooth has worked flawlessly previously pi-bluetooth from the AUR is up to date bluez and bluez-utils are up to date The system is up to date as well (just ran pacman -Syu)Still, when I try to use the bluetooth interface, it doesn't ...
bluetooth.service running, but bluetoothctl says "org.bluez.Error.NotReady"
There is no problem if both rpm files depend on one another; just install the two together: rpm -ivh akmod-wl-6.30.223.271-13.fc26.x86_64.rpm broadcom-wl-6.30.223.271-2.fc26.noarch.rpmLogically; if there are more dependencies; you can install all of them together. If you don't want to hassle with all these dependencie...
I am new to Fedora and recently installed Fedora 26 OS. I am trying to connect to wifi using that. I followed the youtube video Broadcom installation and tried to install the Broadcom drivers. I have downloaded the rpm file broadcom-wl-6.30.223.271-2.fc26.noarch.rpm when I ran the command rpm -ivh broadcom-wl-6.30.223...
What to do with a circular dependency between two packages in Fedora?
It seems that support for that particular chip or firmware version is still not very stable. The message is telling you to pass an option to the b43 kernel module to activate support for your chip version. This may improve things or not. To do so, create a file /etc/modprobe.d/local-b43.conf containing the lines # Act...
I just installed Arch, and I noticed that my wifi range is very poor. I have to be about 10 feet away from the router for it to work. I also noticed that when I boot, I get this message:Support for cores revisions 0x17 and 0x18 disabled by module param allhwsupport=0. Try b43.allhwsupport=1I am completely new to Linux...
b43 wireless driver error
As of version 3.19, this device is supported in the Linux kernel, but you need to manually provide the device's firmware to the kernel. Finding the Firmware: You can find the firmware in the device's Windows driver, which you can download from Lenovo (or your computer manufacturer's website). Many drivers can just be ...
I have a Lenovo Yoga 3 that apparently has a new Broadcom Bluetooth device. The bluetooth is detected at boot and when I try to pair a something in gnome, I can see a list of devices but none of them pair. How can I get this device to work? lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 D...
How can I get the Bluetooth working on my Lenovo Yoga 3?
The notes for the chip BCM43602 say:Supported in 3.17+.You probably have an older kernel. Check by running: uname -rIf this is the case, update your kernel to >= 3.17 and everything will work properly. Updating your kernel You can update your kernel by adding jessie-backports to your sources list. Open up /etc/apt/sou...
I've installed Debian Jessie to dual-boot on a Macbook Pro 12,1. So far, I haven't been able to set up my WiFi drivers correctly. I've followed the instructions here in this way:Found my chipset using the table on the documentation above.BCM43602 14e4:43ba Downloaded necessary .bin files by cloning the repository an...
WiFi not working with Broadcom 43ba driver
for some reason the ar9721.fw file was empty… downloaded the file again – put it into /lib/firmware and now it works…
I have a broadcom wireless card in my laptop and as far as I know, it acts as an USB device. I also have one USB stick wireless device (TL-WN422G - uses ath9k_htc driver) which I want to use at the same time as the first (Broadcom) device. The problem is, after I load ath9k_htc - iwconfig does not show the new USB dev...
Multiple USB wireless devices?
I finally got it working. My working environment: 4.16.5-1-ARCH [rname -r] My Desktop: GNOME My Network-Env.: network-manager-applet 1.8.11dev+12+ga37483c1-1 My Wlan-Card: Broadcom Limited BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] [lspci -vnn -d 14e4:] What I did: I looked at https://wireless.wiki.kerne...
I have a problem similar to this: Unable to get Broadcom wireless drivers working on Arch Linux But in my case, loading the broadcom-wl-dkms driver did not work. I am new to this, so maybe the solution is quite simple (hopefully). What I did so far: I installed various drivers with yaourt and pacman, ending up with ...
Broadcom Wireless PCI Card BMC4360 14e4:43a0 cannot get drivers working
I found a solution for my problem. I tested different drivers that were mentioned for the Broadcom Chip. The first success was a slow wifi connection. The thing is to have a look that sometimes more than one driver module can be disturbing for the driver. Driver modules can be unloaded with modprobe -r followed by the...
I just installed Debian Wheezy stable. I am now facing the problem, that I am not able to activate the WiFi. I use a HP-Pavilion DM1 notebook with a button (F12 and wlan button) to activate the WiFi. However pressing it does not cause any reaction. Furthermore ifconfig -a does not list wlan0. The computer is equipped ...
Debian: Unable to activate wifi on HP Pavilion Dm1-4055sg (with Broadcom BCM4313)
I have exactly the same issue, I installed kernel-devel sudo dnf install kernel-devel-4.9.6-200.fc25.x86_64 then I followed the same steps that Xenox mentioned in his answer and now wifi is working fine
I know Broadcom does not play nice with Fedora, I've been dealing with this for several years and versions. In the past, installing kmod-wl or akmod-wl was usually enough to get everything up and running (after blacklisting b43 and b43 legacy and long time ago). Details: Lenovo Thinkpad Twist s230u uname -r 4.9.5-200...
Fedora 25 Broadcom Wireless BCM43228 No WiFi
To unload modules you can use these 2 commands, lsmod and rmmod. lsmod will list what modules are loaded, while rmmod will remove a given module from the Kernel, assuming it was dynamically built so that it can/could be dynamically loaded. $ sudo lsmod | head -5 Module Size Used by bluetooth ...
I'm currently searching for the right driver for my Broadcom BCM4313 network/wifi device. At first no network was recognized at all, now I managed to connect, but the connection is really slow. I read that it can be helpful to unload some driver modules with modprobe since they can disturb each other. To find the rig...
Testing which modules are unloaded with modprobe
You need to put if_bwn_load="yes" in /boot/loader.conf. If you don't have a /boot/loader.conf file on your system, just create it. As with the /etc/defaults/rc.conf file, /boot/defaults/loader.conf contains default values that can be overridden in a per-system fashion. Of course, you'll need to either reboot the syste...
I am trying to load the bwn driver as a module as mentioned in the man page. However, when I attempted to edit /boot/defaults/loader.conf I could not write the changes to the file, this was attempted as root. Then I read that this file is not to be edited. How can I load this driver as a module?
Enabling bwn in FreeBSD
I am pretty sure that has something to do with the fact that you don't have the full install, just a 'test' version. And this test version doesn't have all default applications installed, or doesn't have all software sources enabled. I would suggest installing an actual Ubuntu install to the disk, not just the live CD...
I've installed Ubuntu 12.04 on my 8 gb USB stick, and got it running. It seems like I don't have the full Ubuntu OS on the stick though, and that was my intention. Anyway, I can run a "demo" version it seems, and it looks like the normal installation of Ubuntu but with a installer package on the desktop. The issue su...
Running Ubuntu of a USB stick. Can't install wireless driver
I was originally running kernel 3.7.4-204.fc18.i686 with kmod-wl-3.7.4-204.fc18.i686-5.100.82.112-7.fc18.8.i686 and the wireless had issues. After 2 more updates of the kernel it just works fine. So this is what I have running and working good now: sly@localhost ~$ uname -r 3.7.6-201.fc18.i686 sly@localhost ~$ rpm -q...
Just installed Fedora 18 and I can't get the wireless to work. What do I have and what have I done? I have a Broadcom BCM4312 which is supported by the broadcom-wl driver. (link) lspci | grep Network 00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03) 0c:00.0 Network controller:...
Fedora 18 No Wireless
A more refined approach consists in creating a udev rule, triggered only when the right hardware is present, to launch the needed btattach command from a systemd service. This is merging the concepts of the 2 earlier answers. For the specific chipset mentioned in the question, the udev rule looks simply like this: $ c...
Some recent Bluetooth chipsets from Intel and Broadcom need to run the btattach command in user-space for Bluetooth to be enabled properly (it "attaches" the BT chipset and triggers the loading of the required firmware if needed). Such an example is the Broadcom BCM43241 rev B5 chipset found on Lenovo ThinkPad 8 table...
How to enable Bluetooth *automatically at boot* for recent Intel and Broadcom chipsets relying on btattach?
Install the broadcom-wl-dkms package. You can Install it from AUR using yaourt (deprecated use yay instead) please see the complete list on AUR helpers: yaourt -S broadcom-wl-dkmsUnload conflicting modules. rmmod b43 rmmod ssb rmmod bcmaLoad the wl module: modprobe -r wl modprobe wl
It seems to be that the drivers are installed for BCM43142 on my laptop: lspci -k 02:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01) Subsystem: Dell Wireless 1704 802.11n + BT 4.0 Kernel driver in use: bcma-pci-bridge kernel modules: bcmaHowever, there seems to be no...
broadcom 43142 on archlinux: no interface
Broadcom has always ignored FreeBSD and fail to supply drivers so we choose to use other wifi devices, mostly Atheros. As of a year ago, I don't see anyone getting that chip to work and can't find it in the FreeBSD hardware compatibility list. You'll find far more responses and questions about this on the FreeBSD wif...
I'm new to FreeBSD, it's working fine one my Laptop. Only problem is, that my wifi device isn't in ifconfig so I can't use it. I tried a lot of reading but I couldn't get it to work. How can I get my Broadcom chip to work?Model: Acer Aspire 5820TG# uname -aFreeBSD rindtop 10.2-RELEASE-p7 FreeBSD 10.2-RELEASE-p7 #0: Mo...
FreeBSD Broadcom BCM43225 Setup
Solved my own problem! The solution was to:Add deb http://deb.debian.org/debian bullseye-backports main contrib non-free and deb http://deb.debian.org/debian bullseye main non-free to /etc/apt/sources.list.d/deb.list. Run apt update and apt upgrade as well as apt dist-upgrade to add all the new dependencies and packag...
I have been having WiFi trouble for months now, and I've tried all manner of solutions with no change. Hardware: Mid 2012 MacBook Pro unibody, 16gb RAM and 500gb Samsung SSD OS: Kali Linux 2021.2 with weekly updates to all software. Running Live with Persistence from a USB drive. Driver: Broadcom BCM 4331 Problem: Lin...
Persistent WiFi connectivity problems in Kali Linux
this might be useful, basically... sudo apt-get install firmware-b43-installer and if something like "An unsupported BCM4312 Low-Power (LP-PHY) device was found." comes out, then: sudo apt-get install firmware-b43-lpphy-installer
After upgrading the mint 18 kernel to 4.4.0-87-generic I no longer have wireless. My wired device still works, but my wireless nic has disappeared from ifconfig -a. It does show up for lspci: 02:00.0 Network controller: Broadcom Corporation BCM4352 802.11ac Wireless Network Adapter (rev 03)iwlist scan; lshw -c net *...
Linux mint:Wireless Device Unclaimed after Upgrade
Given the output from dmesg I would suggest downloading the firmware from the broadcom site. Check out that link, there are pretty detailed instructions on how to download and install the firmware that the dmesg error message is mentioning. general steps 1. download firmware file: http://git.kernel.org/cgit/linux/kern...
I am attempting to enable my wireless interface in Slax Linux, so far, I know the driver I need is brcmsmac, since I have a broadcom card; and this work in Slackware. The driver is available and does not show any errors when I load it with: # modprobe brcmsmacBut no new interface is loaded. Here is I've tried: # lspci...
brcmsmac does not work
I should just be able to wget the tarballs from http://linuxwireless.sipsolutions.net/en/users/Drivers/b43/ those on the pen drive and then try loading transferring them into archThat is exactly what to do. Unfortunately, Broadcom does not provide distribution licensing for the firmware, so you have to download their f...
I am dual booting arch linux on my mac mini 3,1. Am trying to get the WiFi to work and have hit a block. Following these instructions. I have identified my card as BCM4321, which from the tables I read I can use the b43 driver/module (is a driver really just a module?) which is already in the kernel. I ran lsmod and ...
getting wifi up and running in Arch Linux on Mac Mini 3,1
To solve the problem I've selectively disabled all possibile drivers for my wifi card. $ sudo modprobe -r b43 ssb wl brcmfmac brcmsmac bcmaI've also deleted all the connections shown in the network-manager taskbar icon. At this point I've started re-enabling every driver separately. Every time I had to wait for a wile...
I have a fresh install of Linux Mint Mate 64 on an old iMac (late 2008). I can not connect using a network cable so I need to use wlan. I've installed broadcom drivers, the network managers shows the wi-fi connection and everything seems fine... but I cannot connect to anything except localhost. I've tried to reduce ...
Unable to ping router but broadcast ping returns response from it
Apparently, they took the wl driver, which is what's used to run Broadcom wifi chips, out of the linux kernel starting at 4.14.8 . This only hit me now, when my Ubuntu box upgraded to kernel 4.15, and I suddenly didn't have wifi. You need to install a DKMS version of the driver, which is broadcom-sta-dkms in debian ba...
I always upgraded the linux kernel of my machine to the latest stable version, but, with any version later than the 4.14.8 WiFI doesn't work anymore, how can i solve this? Info about my wireless card: description: Wireless interface product: BCM43142 802.11b/g/n vendor: Broadcom Corporation physical id: 0 ...
WiFi not working with kernel later than 4.14.8
The BCM4313 WiFi chipset is a single frequency 2.4GHz chipset. It is capable of going to a theoretical speed of around 150Mbps. You might also suspect by the lsusb output, in the 802.11bgn string, it does not support 5GHz (802.11b, 802.11g are not in the 5GHz band*, and in 802.11n the 5GHz band support is optional). ...
My cellphone connects just fine to the 5Ghz network, so I know it is up and functioning properly. My Dell Inspiron though, running elementary OS Loki which is based on Ubuntu 16.04, refuses to do so and instead connect to the 2.4GHz network which has a much lower signal strength. Here's the iwlist output, which confir...
Dell laptop won't connect to 5GHz network
For packet injection abilities you have to buy a wifi chipset that does support the functionality; Broadcom is not certainly one of them. Some chipsets support monitor mode, and even a stricter small set does support injection capabilities; shame is that in several ethical hacking courses, that limitation is not menti...
I need to test some signals off. I use Debian and need to inject packets which the broadcom chipset inside this would not allow or maybe I don't know how to ( I mean, if I run "wash" tool it doesn't provide me any results and gave some kind of error, which on googling seemed to be the "packet injection inability".). S...
Is there any way that I can make packet injection to work on my MBA 2015 11"s Wireless NIC (Broadcom)?
Ok so turns out, the mac book I was using has a T2 chip. I don't know why, but it causes problems. Some people patched the kernel and fixed the wifi. All of those models have this chip If you have mac os still installed besides your linux installation, follow this guide. Credits to this answer If you don't, it will be...
I have a MacBook Pro 16, and decided to install Pop!_OS on it. My system info is: OS: Pop!_OS 22.04 LTS x86_64 Host: MacBookPro16,2 1.0 Kernel: 6.2.6-76060206-generic My Network controller is a Broadcom Wireless Network Adapter (Broadcom Inc. and subsidiaries BCM4364 802.11ac Wireless Network Adapter). I found the a...
MacBook Pro's wifi doesn't work on a fresh Pop!_OS install
You need to install linux-firmware and linux-modules, the kernel driver is bnx2x.ko. sudo apt install linux-firmware linux-modules-$(uname -r) sudo modprobe -v bnx2xIn debian is packaged under firmware-bnx2x, here is the description:This package contains the binary firmware for Broadcom NetXtreme II 10Gb network adap...
I'm new to linux & I'm trying to add external ethernet NIC to hpe dl380 gen9 server, the os is ubuntu 20.04. I can't find the NICs using ifconfig, and after some googling I used lshw -C network and it's appearing as network unclaimed full description: Broadcom Inc. and subsidiaries NetXtreme II BCM57810 10 Gigabit Et...
Broadcom NetXtreme II BCM57810 10 Gigabit Ethernet appearing as unclaimed on ubuntu 20.04
it works on startup now after adding brcmsmac to /etc/modules
I installed broadcom-sta-common and it caused WiFi to not work , i purged it but i still need to run sudo modprobe brcmsmac manually after boot to make WiFi work. How can i make it work automatically like before ? some outputs : rahman@debian:~$ sudo rfkill list 0: hp-wifi: Wireless LAN Soft blocked: no Har...
How to make WiFi work automatically?
OP has a Broadcom BCM4313 chipset, which is not supported by the b43 driver, so enabling the core revisions listed in the warning will have no effect. Further, this particular chipset is not fully supported by the brcmsmac driver, leaving only Broadcom's own (restrictively-licensed) broadcom-wl driver, specifically t...
I am trying to get Wifi working on my Arch Linux installation so I have installed broadcom-wl-dkms, but it still does not seem to work. I noticed that one every startup I got this message: Support for cores revisions 0x17 and 0x18 disabled by module param allhwsupport=0. Try b43.allhwsupport=1So I enabled them as it s...
Unable to get Broadcom wireless drivers working on Arch Linux
I have same board and also want to use mainline Linux. I found this line in 3.4 kernel log of Banana pi m2m bsp: [ 14.519605] DHD: dongle ram size is set to 524288(orig 524288) at 0x0 [ 14.535387] dhd_conf_read_others: ccode = CN [ 14.535623] dhd_conf_read_others: regrev = 0 [ 14.535763] Final fw_path=/lib/fir...
I'm trying to get the WiFi working on a Banana PI M2M using the mainline kernel. The device tree definition of the banana pi m2m is very incomplete sun8i-r16-bananapi-m2m.dts I successfully managed to get SPI working but I am now struggling to get the WiFi drivers working as they should. The banana pi M2M uses the AP6...
Banana PI M2M (allwinner A33/R16) WiFI drivers in mainline kernel
I had the same problem when I upgraded my Thinkpad X260 from Fedora 26 to 27 (the chipset is BCM4356 too). I solved it thanks to this bug report at RH BugzillaI downgraded to linux-firmware-20171009-78.gitbf04291.fc27 I had taken before the same steps installing broadcom-wl package. I commented brcmfmac module in the ...
After a fresh install of Fedora 27, the wifi card is not detected after the running the first system update. After some lengthy troubleshooting online I am still no closer to the solution.uname -r4.14.5-300.fc27.x86_64lspci -vnn -d 14e4:04:00.0 Network controller [0280]: Broadcom Limited BCM4356 802.11ac Wireless Netw...
Broadcom wireless undetected in Fedora 27
The bcmwl-kernel-source isn't available on kali repository the alternative package is the broadcom-sta-dkms with the regularly kali-linux repository, your /etc/apt/sources.list should contain only this URL: deb http://http.kali.org/kali kali-rolling main contrib non-freethe apt-cache search broadcom-sta will show you:...
I have a new Kali Rolling set up and am having numerous problems attempting to install WiFi drivers for a broadcom 14e4:43a0 device (TP LINK Archer T8E). I am currently USB tethering from my phone. Searching online gave me results that I should install the bcmwl-kernel-source package for the drivers but whenever I att...
Installing WiFi drivers for 14e4:43a0 rev 3 broadcom pcie device - can't find bcmwl-kernel-source package
I eventually fixed this by doing the following: 1) Making sure these were in /etc/apt/sources.list deb http://http.kali.org/kali kali-rolling main contrib non-free # For source package access, uncomment the following line deb-src http://http.kali.org/kali kali-rolling main contrib non-free2) Making sure everything was...
I need to install the driver as it was not recognised automatically when installing Kali Linux on my MacBook Pro. If I type iwconfig then I get only lo and no wlan0. There is no ethernet port on the new MacBooks so I needed to find a way to connect to the internet in order to download stuff without using the USB metho...
Internal Wireless Card setup Mac Dual Boot 2016 Kali Linux
When you booted your laptop and configured the wired bge0 interface via dhclient, it became the default route (as seen in the rightmost column in the output of netstat -r). When you later configured your wireless bwn0 interface and disconnected the wired interface, it wasn't set to be the default route. When you tri...
My issue looks similar to this one. I configure my Broadcom BCM4311 802.11b/g device on FreeBSD 10.3-STABLE like this: sudo kldload if_bwn sudo kldload bwn_v4_ucode sudo kldload bwn_v4_lp_ucode # # Now, interface `bwn0` is available # sudo ifconfig wlan0 create wlandev bwn0 sudo ifconfig wlan0 up # at this moment...
Configure wireless network on FreeBSD: router shows wireless device is connected, but cannot ping
I had the same problem, but as it all worked on raspian, I copied ALL the files from /lib/firmware/brcm on raspian to my gentoo system on the theory that if they were not required they would not be loaded. The problem was solved!
i've install gentoo on a raspberry Pi 3. The version of the kernel sources is 4.1.20-v7+. All works fine except for the wifi. When i load the module brcmfmac, it is loaded without complaint but the wifi chips isn't recognize nor detected. For the kernel config, i use the one from the latest raspbian /proc/config.gz. A...
wifi chipset not detected on rPi 3 with gentoo
Although searching on the internet will lead you to instructions like: reboot/reset your router, reinstall "this" or "that" driver version or make sure your ESSID is not configured to be hidden, the problem may be the channel. Having a look at the 2.4 GHz (802.11b/g/n) specification (my router can only use de 2.4 GHz ...
I recently installed Ubuntu 14.04 on a computer with a Broadcom BCM4312 802.11b/g LP-PHY wireless card. After installing the proprietary drivers available from the Ubuntu repositories, I was able to see other wifis (my neighbours') APs, but not mine. I tried several drivers without success. I decided then to try Fedor...
Broadcom: not able to see my wifi
The firmware must be present at the time you load the driver. So be sure to unload the module and reload it: # <install firmware> rmmod bnx2 modprobe bnx2For some drivers (I don't know about this one), you may need to unload auxiliary modules that it's using. lsmod | grep bnx2 will show what modules bnx2 uses. Call...
I have a Dell 710 with Quad Bcom NetExtreme 5709s. In the name of expediency, I'm trying to boot off the Squeeze live CD, but the Broadcom drivers are in non-free, so they don't come up when you boot. No problem, I think to myself. I will sneaker-net the bnx2-firmware deb and all is good. I can see the interfaces in...
Debian Live - modprobe failed to bring up Broadcom ethernet interfaces
the issue resolved. I have add compatible property to usdhc in dts file. &usdhc1 { #address-cells = <1>; #size-cells = <0>; pinctrl-names = "default"; max-frequency = <50000000>; pinctrl-0 = <&pinctrl_usdhc1_alt>; bus-width = <4>; no-1-8-v; /* force 3.3V VIO */ non-removable; pm-i...
I've update my kernel version from 4.11 to 5.4.3-g9c2490ac8-dirty #3 SMP PREEMPT Sun Aug 8 12:11:16 UTC 2021 armv7l GNU/Linux I have an issue with brcmfmac kernel module. I have enabled brcmfmac debug and enables all messages types in debug message. you can see the dmesg output when I put this command insmod /<path to...
brcmfmac, brcmfmac_module_init No platform data available
This card, according to the Broadcom Wiki, does support only the abgn networks. You probably meant that the a stands for ac, which is nowadays 5 GHz standard. I am sorry, but this card simply does not support ac networking.
Whenever I try to connect to my 5 GHz network, my KDE Network Manager takes a while on "configuring interface", where then I am prompted to enter a password. I enter the network password, but the whole process repeats. I am running Manjaro Linux, and additional information is below. $ sudo lspci -vvvnnk -d 14e4: 02:00...
Can't connect to 5GHz network on Broadcom BCM43228 802.11a/b/g/n [14e4:4359]
From your desktop clic connectNext step clic Load moduleChoose b43 or b43-legacy then press Load If the tow modules doesn't work , you can choose Ndiswrapper then select the .inf file (of the windows driver)
A few hours ago I installed Puppy Linux on to the quoted machine and have been pulling my hair out trying to configure the wifi. Reasonably sure my machine needs the broadcom driver/pack but have no clue how to fix it. I've laboriously looked through previous posts but the only solutions i could find used shell comma...
Unable to configure wifi on Packard Bell Dot S
I took the time to dig into this. We need to install the wl driver for the 14E4:43A0 chip. Here are the steps : Enable non-free in the /etc/apt/sources.list file apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms modprobe -r b44 b43 b43legacy ssb brcmsmac to remove drivers that may con...
I am having some troubles with the WIFI on my Macbook using Tails (USB). I encountered a problem similar once when setting up an Arch Linux USB system but I as able to find the necessary drivers and install them properly (Arch doc is very well done). However I have absolutely no idea how to do this in Tails (or Debia...
Install wifi driver for Macbook 11.1 under Tails
I was advised to put all three rpm packages in one directory and run one command and so I did and it worked. So I put kmod-wl-4.2.3-300.fc23.x86_64-6.30.223.271-4.fc23.x86_64.rpmkmod-wl-6.30.223.271-4.fc23.x86_64.rpmbroadcom-wl-6.30.223.271-1.fc23.noarch.rpmin a new directory and ran sudo rpm -ivh *.rpmIt worked and...
I have installed fedora 23 and have dual boot with Windows 10 on Dell Inspiron 1545. The system doesn't recognize the wireless card with is Broadcom BCM4312. I downloaded several rpms and tried to install them but failed. I managed to install rfkill but rfkill list wifi gives nothing rfkill list allgives nothing as w...
Cannot install driver for BCM4312 with Fedora 23, no internet connection
The issue was the module I use, changing the module from brcmsmac to wl will resolve the problem; by running the following (after adding deb http://httpredir.debian.org/debian/ stretch main contrib non-free to /etc/apt/sources.list) : apt-get update apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linu...
My keyboard's wifi LED should normally be orange when turned off , blue when turned on, but it's always orange and that makes me uncomfortable. Here are some outputs I think are useful: root@Machine:~# uname -a Linux Machine 4.9.0-kali4-amd64 #1 SMP Debian 4.9.30-2kali1 (2017-06-22) x86_64 GNU/Linux root@Machine:~# ls...
keyboard's wifi LED doesn't work properly
After running sudo apt remove bcmwl-kernel-source && sudo apt install --reinstall broadcom-sta-dkmssudo modprobe -rv bcma wland sudo modprobe -v wl,then rebooting, still no wifi icon or connection, but I hit on the idea of running terminal commands to see what could be seen nmcli dev wifilisted networks I could try c...
I'm using Mint 21 on an HP 17-y002na laptop. It's been connected via ethernet cable for much of the time since I updated to 21, but has had wifi capability at times. Last week I noticed that the symbol showing ethernet connection was absent from my panel, but wired connection still works. Unplugged, I get no wifi opti...
Linux Mint 21 - Broadcom 43142 - wifi stopped working
The Broadcom page of the PCI ID Repository does not know about product ID b844 either. But it would seem that the ID falls within the group of IDs used apparently exclusively for the BCM56xxx series of switch ASIC chips. Of course this is nothing more than an educated guess.
I'm running Debian 11 5.10.0-9-amd64. I've got an A10Networks Thunder TPS 4435 Network Appliance with 16 SFP+ Ports that are connected to one Broadcom network chip. In the original software, the interfaces are detected, but I've removed it from the disk so I can't check which driver it uses for the NIC. Results of lsp...
Searching for Broadcom Inc. and subsidiaries Device b844 (rev 02) driver
After examining the output of of sudo journalctl -b 0 -u NetworkManager as suggested by @waltinator, resulting in: <info> [...] device (eno1): carrier: link connected <warn> [...] dhcp4 (eno1): request timed outI finally realized that it may be helpful to check the wifi extender that my server is connected to via ethe...
About 2 weeks ago I installed an antivirus (ESET nod32) on my Mint 20.1 server. However, after discovering that it is not at all optimized for Linux (blocked basically all my ports + connections and provided no firewall manager), I uninstalled it and my connections began working again. Recently, after toying around wi...
Ethernet Not Connecting on Linux Mint
So I figured out that somehow issue was behind mac dual-boot system. My build was like this: MAC OS on main SSD and Debian 10 on external SSD. From time to time I was booting between MAC OS and DEB, and it affects the network card on Debian site. Not sure how to fix it, so I uninstalled MAC OS from main SSD and instal...
I've installed Debian 10.5 few days ago, after playing with drives and packages I was able to set up required broadcom drivers and was able to connect to wifi. Because I've accomplished my mission I was quite happy thus I went sleep that day. Tho in the morning I saw that wifi connection is not there any more. It show...
I'm not able to connect to wifi on Debian 10
Ostensibly, the problem got fixed by restoring /etc/network/interfaces back to default. I added a wlan0 in there earlier as it wasnt there before, but wlan0 now also shows in ifconfig
Since debian is a second OS on a dual booted mac, there is always problems with Wi-Fi. On this decice, my driver is BCM43224, which is supported by the Broadcom Wl driver. Upon installation, the Wi-Fi worked perfectly for half a day. However then, the power cable got disconnected and the mac shutdown forcefully. There...
Problems with Wi-Fi on Debian
Unfortunately, GTK libraries (used in particular by GNOME) tend to emit a lot of scary-looking messages. Sometimes these messages indicate potential bugs, sometimes they're totally spurious, and it's impossible to tell which is which without delving deep into the code. As an end user, you can't do anything about it. Y...
It seems like every application from the terminal gives warnings and error messages, even though it appears to run fine. Emacs: ** (emacs:5004): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-xxfluS2Izg: Connection refusedEvince: ** (evince:5052): WARNING **: Couldn't conn...
X applications warn "Couldn't connect to accessibility bus:" on stderr
To reassure a few, I didn't find the bug by observing exploits, I have no reason to believe it's been exploited before being disclosed (though of course I can't rule it out). I did not find it by looking at bash's code either. I can't say I remember exactly my train of thoughts at the time. That more or less came from...
Since this bug affects so many platforms, we might learn something from the process by which this vulnerability was found: was it an εὕρηκα (eureka) moment or the result of a security check? Since we know Stéphane found the Shellshock bug, and others may know the process as well, we would be interested in the story of...
How was the Shellshock Bash vulnerability found?