date int64 1,220B 1,719B | question_description stringlengths 28 29.9k | accepted_answer stringlengths 12 26.4k | question_title stringlengths 14 159 |
|---|---|---|---|
1,394,641,957,000 |
Is it possible to export a block device such as a DVD or CDROM and make it so that it's mountable on another computer as a block device?
NOTE: I'm not interested in doing this using NFS or Samba, I actually want the optical drive to show up as a optical drive on a remote computer.
|
I think you might be able to accomplish what you want using network block devices (NBD). Looking at the wikipedia page on the subject there is mention of a tool called nbd. It's comprised of a client and server component.
Example
In this scenario I'm setting up a CDROM on my Fedora 19 laptop (server) and I'm sharing i... | How can I mount a block device from one computer to another via the network as a block device? |
1,394,641,957,000 |
How can I convert a .cue / .bin (cdr track) image into a single .iso file?
I have
Fedora 16 (x86-64)
Linux 3.1.9-1.fc16.x86_64 #1 SMP Fri Jan 13 16:37:42 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
|
You should look at bchunk, which is specifically meant for this type of conversion. You should be able to install it with sudo yum install bchunk, but I'm only 95% sure it's in the standard repo. bchunk will create an ISO from any data tracks, and CDR for any CD audio. If you want everything in one ISO bchunk is not... | How can I convert a .cue / .bin ( with cdr tracks) image into a single .iso file? |
1,394,641,957,000 |
I have an ISO file, which I burned to a CD. Now how can I check if the CD is correctly created? I would like a command that calculate the hash sum that I can use to check with the hash sum I calculate on the ISO file. Ideally the command should:
Work regardless of the ISO file: that is, I don't want to keep a list of... |
The basic problem is that we want to take the md5sum of the exact same information that was on the ISO originally. When you write the ISO to a CD, there is likely blank space on the end of the disk, which inevitably changes the md5sum. Thus, the the very shortest way:
md5sum /dev/cdrom
doesn't work. What does work... | Calculate md5sum of a CD/DVD |
1,394,641,957,000 |
I have CDs for Age of Empire III and I would like to play it in a Windows 10 VM. Is this possible? I know how to insert virtual CDs (i.e., ISO files) into a VirtualBox VM (via the "Storage" settings), but physical CDs are a different story. The best solution I can think of is to add where I've mounted the CDs on my Li... |
Yes you can, but you need to have DVD passthrough active.
Go to VirtualBox's Machine > Settings > Storage > Enable Passthrough for the DVD drive.
To allow an external DVD drive to be recognized by a VirtualBox Virtual Machine (VM) it must be configured in such a way that "passthrough" is enabled.
Enabling Passthrou... | Is it possible to insert a physical CD into a VirtualBox machine? |
1,394,641,957,000 |
Up until Fedora 14 I was successfully using cdctl to enable/disable the CD/DVD eject button on my laptop (Thinkpad T410). Sadly it has stopped working now.
I've consulted the methods discussed in these 2 questions:
disable cd/dvd button on linux laptop (ubuntu)
Disable the DVD eject button on a Thinkpad running Linux... |
Thanks to @Affix's answer which gave me the right direction to head, I've figured out the solution to the problem.
The problem is definitely caused by UDEV as you've guessed. The issue is this line that is in most UDEV files related to the cdrom drive.
Example
On Fedora 19 there is the following file, /usr/lib/udev/ru... | How can I disable the button of my CD/DVD drive? |
1,394,641,957,000 |
Hey my iso file won't accept device files so I was wondering how I could mount a cdrw with an iso9660 filesystem as read write to copy device files to the cdrw.
|
You can't mount iso9660 read-write, the filesystem is laid out for reading only (there is no space for files to grow, for example). I don't know if you can create such a filesystem with device nodes either. What are you trying to do? If you want to create a custom LiveCD, look at the tools your favorite distribution ... | How to mount iso9660 filesystem as read write |
1,394,641,957,000 |
I attempted to install Debian through a CD, with the initial .exe working fine. However, when I rebooted and went through the installation procedure, my system could not tell that there was a disk there (or the media was unreadable). Now whenever I boot up my computer, I get the choice between continuing on to windows... |
Although, via msconfig I couldn't find the "continue with the installation" partition in my disk as a start up thread, nor with disk management, the solution is really simple:
Open command prompt: cmd
Type bcdedit (as Marcos suggested)
You will find the booting partitions (this term doesn't really exist)
Spot the pa... | Removing Debian Installation Prompt |
1,394,641,957,000 |
Writing CDs with cdrecord and making images with genisoimage is no problem.
I want to write DVDs in a similar manner, first creating an image, then burning it to disk. This is quite beneficial, since I can inspect the image before burning it to disk.
Now, all I've seen, is how to use the growisofs command to burn some... |
There are in fact two ways of generating a UDF filesystem image on Linux, depending on your requirements.
Create a UDF/ISO-9660 image with mkisofs
The mkisofs tool has the ability to generate a combined UDF and ISO-9660 bridge filesystem in a single pass. This is a filesystem that stores both a UDF directory and a leg... | How to create UDF images and burn them to DVD or CDROM? |
1,394,641,957,000 |
I would like to create a ISO file for testing optical drives with the method mentioned here. I want to create an ISO file filled with random data, so I can burn it to a CD, read it back and compare with the original ISO. I think the command bellow will do what I want.
dd if=/dev/urandom of=cd-rom_test.iso bs=2048 coun... |
Since you're writing to a file with dd, the block size will not change the resulting output. Block size only matters when writing to devices.
You're reading from a device that won't ever return short reads, so you don't need to use sync to pad blocks.
In any event, dd does not have read or write access to the error c... | Create a Random ISO Image Using dd |
1,394,641,957,000 |
If I:
dd if=/dev/cdrom of=cdrom.iso
then I will always get the exact same, bit-by-bitly same image that is the same as the original CDROM?
Or are there any methods that prevents copying all the bits from the CDROM? Asking for archiving old games on old CDROMS
|
No, dd can be not sufficient. As examples:
If you have a multi-track cd-rom with data and audio track mixed, using dd you will copy only the first data session.
Many old video-games cd (on Play-Station 1) use as copy-protection some fake session on the cd. You have to replicate them to obtain a working cd.
I success... | If I dd a CDROM, then I always get the exact copy of the CDROM? |
1,394,641,957,000 |
So I recently installed Debian 8 and am currently trying to get the software configured with my NVIDIA video card. The official Debian page instructed me to do this:
Add
deb http://http.debian.net/debian/ jessie main contrib non-free
to the /etc/apt/sources.list.
Run
# aptitude update
and then run
# aptitude -r ins... |
There is probably a line in /etc/apt/sources.list (or in one of the files in /etc/apt/sources.lists.d/) starting with
deb cdrom ...
Comment this line out and Debian won’t try to install packages from this disc.
| [Linux Debian 8]: Driver Installation asks me to insert a disc |
1,394,641,957,000 |
How to mount the CD-ROM on Solaris 10 without knowing the CD-ROM device name?
|
You do want to mount a CD read-only with:
mount -F hsfs -o ro /dev/sr0 /cdrom
I have never used any solaris machines with multiple CDs myself, but I assume you can use /dev/sr1 etc. for the other drives.
| How to mount the CD-ROM on Solaris 10? |
1,394,641,957,000 |
My linux system scans my cdrom on boot. Can I disable that feature without removing my cdrom tray?
|
If you are running LVM, or have the LVM tools installed, it will scan for LVM devices during the init sequence. This is controlled by the lvm config file (/etc/lvm/lvm.conf on Debian).
The config file may have a commented-out line to exclude /dev/cdrom from its scan. Check this and uncomment it, or substitute a differ... | Why does linux scan my cdrom on boot? |
1,394,641,957,000 |
I used to be able to run either commands successfully on my Fedora 14 Thinkpad T410 laptop:
$ wodim --scanbus
$ wodim --devices
However since upgrading to Fedora 19 this no longer seems to work and I'm not sure why. Are there any alternative methods for getting the drives capabilities from wodim?
|
I wasn't able to confirm this is truly a bug or not but this Ubuntu bug would seem to lead credence to this assumption, titled: "wodim doesn't find my DVD writer".
This thread listed a workaround by including the dev= to wodim. This works so long as you know your CD/DVD devices handle.
--scanbus
$ wodim dev=/dev/sr0 -... | Getting capabilities of my CD/DVD drive when wodim --devices doesn't work |
1,394,641,957,000 |
I am using Ubuntu server as a samba server. The solution I am looking for is whenever the disks are inserted (cd or dvd) they should get auto-mounted to /cdrom directory. Are there any tools for achieving this? I installed ivman, and it is running as a daemon. But it is doing nothing.
EDIT 1: Tried autofs, and it doe... |
Personally I would go the autofs-route. But as you stated autofs might be broken on Lucid (I'm not an Ubuntu-User).
You could also try udev-wrappers or rules. The Arch Linux wiki has something on that. https://wiki.archlinux.org/index.php/Udev#UDisks
| Auto mount cd or dvd on CLI based ubuntu server |
1,394,641,957,000 |
I'm running Debian. I've changed computer, migrating the root partition, a few times. My cdrom drive is listed as /dev/cdrom3. This does sometimes cause some problems. I'd like to rename it to /dev/cdrom0. I was able to rename my ethernet card to eth0, but cannot find instructions on how to do this. Do you have any id... |
You need to edit the file /etc/udev/rules.d/70-persistent-cd.rules
Simply look for the line that contains the entry SYMLINK+="cdrom3" and rename it to your liking.
To make the changes take effect, I think a simple restart of udev would work (service udev restart) although you might need a reboot.
| Linux: how to rename cdrom drives |
1,394,641,957,000 |
I'm attempting to mount a CD drive (via USB) and read the contents of the CD in the drive. I'm able to mount the drive fine, but I'm unable to read the contents. Here's what I've done:
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sr0 11:0 1 881.6M 0 rom
$ sudo mount -t iso9660 -o ro ... |
ISO 9660 Extensions: RRIP_1991A
This message indicates the CD was created with Rock Ridge extensions, meaning that the files and directories within can have Unix-style user/group IDs and permissions assigned to them. Unless the permissions are set world-readable, you may have trouble reading the CD if it does not hap... | Unable to read CD contents after mounting |
1,394,641,957,000 |
I want to add +x permission executable on my ISO. So I can run it directly on Linux host when clicking my CD-ROM.
I tried sudo chmod 555 tester and then burned it on ISO, but the tester only had read permission on ISO
|
As answered by Vlastimil, the ISO 9660 file system is fairly limited, and several extensions were developed to overcome its shortcomings. E.g. Joliet adds support for Unicode filenames, El Torito allows for bootable CD-ROMs and Rock Ridge enables you to use Unix file permissions on the files.
To be able to use Unix p... | Set +x executable permission on a CD-ROM |
1,394,641,957,000 |
My understanding is that Debian and all the software available in the matching online repo (eg: https://packages.debian.org/stable/allpackages) are released together on a series of disc images (alternatively you can just download the first disc and use apt-get to download individual packages), however when I look in h... |
These DVDs contain all the binary packages in main. See, for example
Where is the CD image with non-free?, which explains why non-free software is not included. For the purposes of this question, we can consider both the non-free and contrib section of the archives to be non-free software. The contrib section correspo... | Are All The Packages Included On The Debian DVD/CD Images Or Just The Most Popular? |
1,394,641,957,000 |
My Laptop a HP Probook 4510s refuses to boot Fedora or Arch Linux CD'S, but will boot and install Debian based stuff, i.e. Debian or Ubuntu.
If I put a Fedora or Arch CD in, it will just stick on BIOS screen and never do anything -- the CAPS lock key flashes and the HDD light constantly flashes at a rapid rate, no ke... |
I found a work around from fedoras forum.
Set your CD drive as the first boot device, power laptop on without disk in, hit esc to get interrupt menu, put fedora disk in, then press enter to continue normal boot, it then booted into the fedora installer for me!
| HP Laptop refused to boot Arch or Fedora CDs but boots Debian based fine |
1,394,641,957,000 |
I have many old (data) CDs.
I want to copy them all to the disk, but the problem is that some of these CDs are no longer readable and it is extremely tiresome to copy the CDs one by one.
Is there some tool to expedite this process?
|
Do you know you can copy an entire disk as an iso file system like this:
cat /dev/sr0 > filename.iso
Other than switching disks in the tray, that makes the software end of aquiring the data pretty painless. You can the write a couple line script to loopback mount all of the iso's and copy all or parts of the data out... | Copying many CDs to disk |
1,394,641,957,000 |
I got a couple of old disks I'm trying to copy over to a HDD. Some of the disks worked fine and I was able to copy them using just mount and rsync, however as is it with old disks, some of the disks were failing to mount. I tired using dd to make an image of them and then ran photorec to get the files out. This worked... |
Use ddrescue
(In Debian and Ubuntu: use aptto) install the package gddrescue.
Read a good tutorial via the command info ddrescue before starting to recover.
Clone to one drive and write a log file to another drive.
The first step is to use a fast process to clone what is easy to read.
Then a slow process can usuall... | dd stops copying mid-way through a CD |
1,394,641,957,000 |
There is this CD-RW which I always used to burn distros' CDs. All of a sudden it acts like a normal CD.
When I mount it, it gets mounted this way:
- Proprietary: Root
- Access: Read only
- Group: Root
- Access: Read only
- Other: Read only
I thought I could manually mount it as Read-write. These are the results:... |
After trying with several programs, guis, and even switching to Windows, I wondered if the issue might have been related to the drive.
Aaaaand... it was. I just went to an other PC and was able to erase it in 30 seconds.
Not sure why I can burn but can't erase through this one. Go figure.
Thanks nonetheless to @telcoM... | How to properly erase and use a CD-RW |
1,394,641,957,000 |
I want to learn which media my optical device can read and write to?
|
Use lshw!
lshw
lshw -class disk
| How do I get to know my optical drives read and write capabilities? |
1,707,097,001,000 |
When I run cd-info the track list looks like this:
CD-ROM Track List (1 - 1)
#: MSF LSN Type Green? Copy?
1: 00:02:00 000000 data false no
170: 68:17:27 307152 leadout (688 MB raw, 599 MB formatted)
What does LSN mean and what does it stand for?
I checked the man page and Google and found nothi... |
The LSN is the Logical Sector Number, similar to the Logical Block Address more commonly used on disks.
| What is LSN in the cd-info track list? |
1,707,097,001,000 |
Right now I'm trying to install Battlefield 2 from CD-ROM on my Linux computer (I know Battlefield 2 is a little old now but I couldn't care less). Of course, it needs to be run under Wine, and luckily for me Wine isn't the issue yet. The issue is that once the installer asks for Disk 2 to be inserted, it doesn't get ... |
Wine has a wine eject command to address this. When it's time to switch disks, simply fire up another terminal and wine eject, then plug in the second disk.
It is noteworthy that the appropriate $WINEPREFIX must be set for this command to work properly.
| Hotswapping CDs on Linux |
1,707,097,001,000 |
I have a Linux machine running CentOS7 that does not have a built-in CD drive. I need to copy files from a CD onto the computer, so I'm using a USB CD drive. I cannot get the computer to recognize the device and mount the CD.
The device doesn't show up in /dev, but I've been able to identify the device using sudo lshw... |
I stumbled upon the solution in another forum - our security settings had USB devices disabled. I uncommented the following line in /etc/modprobe.d/usb-storage.conf
install usb-storage /bin/true
After editing the file, I rebooted and the CD mounted itself automatically. After copying all of the data over I uncommente... | Unable to mount USB CD Drive |
1,707,097,001,000 |
I'm running Jessie/sid as my base.
When I type lspci:
00:00.0 Host bridge: Intel Corporation ValleyView SSA-CUnit (rev 0e)
00:02.0 VGA compatible controller: Intel Corporation ValleyView Gen7 (rev 0e)
00:13.0 SATA controller: Intel Corporation ValleyView 6-Port SATA AHCI Controller (rev 0e)
00:14.0 USB controller: Int... |
Disregard, This version of the laptop I purchased does not come with a CDROM.
| CDROM not showing up on Lenovo G50 |
1,707,097,001,000 |
I have a Windows XP CD which I want to install on a USB Drive. However my own CD drive is broken. I have a friend's laptop on which Windows 7 is installed (and no idea if it has a CDROM of not).
Please tell me how to do get the ISO from the CDROM to an USB pendrive?
I am using Debian 7
|
Here is a Windows based tool, ISO to USB. Also you could try using UNetbootin to write an ISO file to a USB thumb drive too. UNetbootin runs on all OSes.
excerpt from UNetbootin website
UNetbootin allows you to create bootable Live USB drives for Ubuntu, Fedora, and other Linux distributions without burning a CD. It ... | Make a bootable CD without ISO file but from a CD |
1,707,097,001,000 |
Is there an equivalent of APTonCD for Fedora? I tried googling and found YUMonCD but wanted to know if there exists some package in the repos.
|
The YUMonCD page you linked to provides RPM packages, why not use those?
| APTonCD equivalent for Fedora |
1,707,097,001,000 |
I need to copy Codonics medical data from CD to ISO.
I insert an CDROM in the CD drive TSSTcorp DVD+-RW TS-H653H of my Dell Precision T1600.
The system detects and mounts the CD when you insert it in Debian.
In copying, dd fails systematically but readom is the only successful differential tool.
However, cp also f... |
I am developer of libburn and work since a year with about the same
system as mentioned here. Kernel 3.16 has a few CD regressions
towards 2.6, but the use case of copying data should work fine.
I rather see bit rot here (readom is unmaintained), user errors
(wrong device files, readom on mounted medium), and the "rea... | How to copy CDROM to ISO in Debian 8.x? |
1,707,097,001,000 |
I need a full Linux distribution for a non-profit activist organisation that can fit on a business card CD.
If that's not possible, there is a business card DVD option too with up to 400 MB capacity.
But I would really prefer CD over DVD if such spartan Linux distribution under 50 MB exist.
|
Sounds like you're looking for DSL http://www.damnsmalllinux.org/
| Full Linux distro under 50 MB for a business card CD |
1,707,097,001,000 |
I have a CD-R/RW DVD+/-R/RW drive. How can determine its available burning speeds (e.g. 2x, 4x, etc.) using the command line, so that I can add options such as -speed= to programs such as growisofs?
I've tried dvd+rw-mediainfo /dev/sr0, but it doesn't list the possible speeds.
|
xorriso -outdev /dev/sr0 -list_speeds
The result depends on the inserted medium.
| How can I list my optical drive's possible burning speeds using the command line? |
1,707,097,001,000 |
Code and outputs
sudo apt-get install xfsprogs
[sudo] password for masi:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libreadline5
Suggested packages:
xfsdump attr quota
The following NEW packages will be installed:... |
Delete or comment (#) the cdrom line(s) in /etc/apt/sources.list and look at files in /etc/apt/sources.list.d and run
apt-get update
| Why am I getting CD requests in Debian APT-GET? |
1,707,097,001,000 |
I'm using Ubuntu 13.04. I want to take an ISO copy of XP installation CD but when I insert CD it's seen as empty CD. Is there any way to access the content of CD?
|
From what you have posted, this sounds more like a hardware issue than a software one. It is likely that the drive isn't reading the disc because either the CD is dirty/scratched, the lens in the drive is dirty and/or the drive is near the end of its life. For the drive, you would tend to first notice issues with copi... | contents of xp cd is not visible [closed] |
1,707,097,001,000 |
So, it's that time of year when I need to make a backup disk of some files on a Windows machine, and I want to use UDF so that I can add to it later. It's refusing to let me create any CDs or DVDs since it says the disk is empty and needs formatting, and then won't let me format them...
And yes, the disks have never b... |
Via mkudffs you can format only block device with r/w access. So only DVD-RW, DVD-RAM, BD-RE. With support of packet writing pktcdvd.ko kernel module and pktsetup utility you can map CD-RW media to compatible r/w block device too. But prior usage of CD-RW media you need to first format it via cdrwtool utility. cdrwtoo... | Can't create UDF disk in Linux with mkudffs |
1,707,097,001,000 |
I have a WH16NS40 DVD drive that I want to use on my Debian 12 virtual machine.
The drive is inside a Vantec NexStar DX2 USB 3.0 external enclosure, which connects to the DVD drive via a standard SATA cable.
I had it working and was able to read and write ISOs to discs from my Debian 12 workstation, but when I plugged... |
Just solved my issue, turns out I had USBGUARD running on the host. Allowing the USB enclosure on the host allowed the passthrough to operate and the VM now sees the DVD drive.
Saw Device is not authorized for usage in dmesg on the host.
Then ran usbguard list-devices
And the USB to SATA device was number 16
usbguard ... | Making USB to SATA DVD drive show up as sr0 in Debian |
1,707,097,001,000 |
Under Linux, is there any way to get a yes/no answer to whether or a CD/DVD drive contains a disc which isn't mounted but which can be mounted or written to?
|
You can use blkid to get the info of a possible mounted block device:
blkid
It will output something like:
/dev/sr0: UUID="2013-05-31-23-04-19-00" LABEL="Blah" TYPE="iso9660" PTTYPE="dos"
[root@arch32-vm ~]# echo $?
0
If empty will output 2.
| How to determine if an unmounted CD/DVD is in the drive? |
1,707,097,001,000 |
I am wondering if there is way to get the state of the CD drive in the command line if there is an audio cd inserted. Can you play a track on the CD and then get back somehow from the system the 'playing' status? Is there any record of the state of the audio cd in the system? (playing/stopped/idle/paused/etc)
|
Today, nobody tells the CD-Rom to play a CD but rather to read a CD and to send the read data to the audio interface of the computer.
When a CD is actually read, you cannot send/execute another SCSI command to the same drive, so there is no way to tell what you like.
What you can to is to call cdrecord -minfo to get t... | Is there a way to get the status of the audio CD (idle/playing)? |
1,394,674,674,000 |
On my Debian system I've customized my Gnome (Shell) keyboard shortcuts, via System Settings > Keyboard > Shortcuts.
Where do I find the file with these settings so that I can copy the file onto a flash drive for backup and then use it to replace the keyboard shortcuts on other Gnome systems?
|
Gnome 3 uses DCONF to store the preferences in a single binary file: ~/.config/dconf/user.
As per the Gnome docs, it is recommended to save only the settings that you need and restore them with either dconf or gsettings. However, gsettings is only able to restore the value(s) for one single key at a time (plus, the va... | Save custom keyboard shortcuts in Gnome |
1,394,674,674,000 |
I've taken a backup of the file where my dconf database is stored (~/.config/dconf/user which is a binary file), and now I need to move some keys from the backup to the dconf in use.
How can I view the content of the backed up dconf without putting it "in place" and view it with for example dconf-editor?
|
To view the content of that file you could rename it - e.g. test - place it under ~/.config/dconf/ and then have dconf read/dump the settings from that file.
By default, dconf reads the user-db found in $XDG_CONFIG_HOME/dconf/:
A "user-db" line specifies a user database.
These databases are found in $XDG_CONFIG_HOM... | How can I view the content of a backup of the dconf database file? |
1,394,674,674,000 |
There are certain gsettings keys that can have multiple values (e.g. a key like verbosity could be assigned to one error, info, or debug). I want to be able to list them, but my dconf-editor (0.7.3) can't view them. Is there an existing alternative?
|
The newer version of dconf-editor now lists the options.
In this example, if you click on debug, you'll see a list of other available values. This screenshot is of version 0.10 of the tool.
A screenshoot from v0.19.3, shows options:
| How do I browse for available gsettings options? |
1,394,674,674,000 |
I would like to setup my gnome terminal's background(#002b36) and foreground color in ubuntu 13, using bash script.
I tried gconftool but couldn't succeed.
GCONFTOOL-2(1) User Commands GCONFTOOL-2(1)
NAME
gconftool-2 - GNOME configuration tool... |
Method #1 - Using dconf
Background
You can use the dconf tool to accomplish this, however it's a mult-step process.
DESCRIPTION
The dconf program can perform various operations on a dconf database,
such as reading or writing individual values or entire directories.
This tool operates directly on... | set gnome terminal background/text color from bash script |
1,394,674,674,000 |
Whenever I open any software through Terminal I get following errors and eventually the software opens
dconf-WARNING **: failed to commit changes to dconf: The connection is closed
(gedit:3609): dconf-WARNING **: failed to commit changes to dconf: The connection is closed
(gedit:3609): dconf-WARNING **: failed to co... |
I had the same problem, in my case I was running "sudo gedit" from a user account; therefore when it tried to save dconf changes it realized that the user was not root, and thus it raised those errors. I solved it by running gedit as a "root":
sudo -i
gedit &
where sudo -i will login into a user acount.
| dconf-WARNING **: failed to commit changes to dconf: The connection is closed |
1,394,674,674,000 |
Gnome desktop seems configurable in various ways: in "Gnome settings", with gnome-extensions, gnome-tweak-tool, gsettings or dconf-editor.
However, apart from this procedure to change the login screen background, which involves a little bit of glib compiling, I have found no way to customize the appearance of:
the lo... |
Ubuntu
I use ubuntu 18.04, (also done this in 17.10) and as of how @cezanee-vahid said, you can find the CSS file here: /usr/share/gnome-shell/theme/gdm3.css and by changing this file you don't need to restart gnome or do anything else, they will be changed by locking computer (or better to say will be reloaded).
so f... | How do I customize Gnome screen shield / curtain / login screen appearance? |
1,394,674,674,000 |
I am trying to modify the Gnome Shell preferences (in this case the key bindings) using the terminal. I have tried:
gsettings set org.gnome.Terminal.Legacy.Keybindings switch-to-tab-1 '<Alt>1'
But it is giving me an error:
Schema 'org.gnome.Terminal.Legacy.Keybindings' is relocatable (path must be specified)
So I am... |
Thanks to @don_crissti's help and the answer they pointed me to.
In order to change Gnome Terminal keybindings a path must be provided for the schema (as it is relocatable). So we need to define both a schema and a path:
GSETTINGS_SCHEMA=org.gnome.Terminal.Legacy.Keybindings
GSETTINGS_PATH=/org/gnome/terminal/legacy/k... | Configuring Gnome Shell key bindings from the command line |
1,394,674,674,000 |
I'm running Debian Stretch with MATE desktop 1.16.1. Since I have update the package mate-settings-daemon I can't change my background, it shows the wallpaper used for the login screen. I've tried to change it in the usual way through Control Center -> Appearance -> Background but when I select a new wallpaper nothing... |
I have the same problem.
A quick workaround could be to use feh:
feh --bg-scale <imagefile.jpg>
| Unable to change background in mate desktop |
1,394,674,674,000 |
GNOME and many window managers such as the Awesome WM use the GSettings settings database, with Dconf as the backend. What is the equivalent of this for KDE?
Also, we can edit GSettiings with the Dconf Editor application or the gsettings command line tool. For example:
gsettings set org.gnome.desktop.wm.preferences bu... |
I found the corresponding settings saved in .kde/share/config/kioslaverc.
| DConf equivalent for KDE |
1,394,674,674,000 |
With terminal emulators like gnome-terminal, it is possible to change settings programmatically, from the command line using dconf and gconf.
But I have trouble finding a similar mechanism for xfce4-terminal.
Specifically, how to select colors or a theme (or preset as it is called in the preferences menu).
I tried fin... |
My changes to RJ-Adam's answer were rejected, thus I give correcting answer:
User specific configuration can be set in
${XDG_CONFIG_HOME:-~/.config}/xfce4/terminal/terminalrc
Which commonly resolves to:
~/.config/xfce4/terminal/terminalrc
Edit that and so xfce4-terminal picks up the changes immediately, if it is run... | How to programmatically change settings of xfce4-terminal? |
1,394,674,674,000 |
I'm in need to standardize (a default standard desktop configuration for all existent and new users) a GNOME environment starting from an existent configuration of an ad-hoc created user.
What I have is: A user named 'master' with a MATE 1.12.1 desktop environment (running on CentOS7) perfectly configured: menus, back... |
You can set system-wide dconf settings by storing them in a text file under /etc/dconf/db/local.d and running dconf update.
If you've set up things on a user's account, you can print out the settings in text form with the dconf command line utility. dconf dump / prints out all known settings but you should only retain... | How to create a default system wide dconf setting starting from just created ad-hoc user config? |
1,394,674,674,000 |
I did as follows:
$ gsettings get org.gnome.desktop.session idle-delay
uint32 300
$ gsettings set org.gnome.desktop.session idle-delay 80
$ gsettings get org.gnome.desktop.session idle-delay
uint32 80
But when I do: dconf dump /org/gnome/, I see as follows:
$ dconf dump /org/gnome/desktop/session
[/]
idle-delay=uin... |
I had a similar problem with gsettings not being able to change the desktop background. Then I found this link showing that the anaconda installation changes the path from the original gsettings:
$ which gsettings
/home/rafael/.anaconda3/bin/gsettings
So I moved ~/.anaconda3/bin/gsettings to ~/.anaconda3/bin/gsetting... | dconf editor value is different from gsettings get value |
1,394,674,674,000 |
I am currently running "Linux Mint 18.3 Sylvia" with the Desktop Environment "xfce4".
Because I have to setup several PCs, I want to write a bash script, that configures the keyboard shortcuts for the system.
I did some research, but none of these articles were what I was searching for. Here for example the author is... |
You're looking for $XDG_CONFIG_HOME/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
Replace $XDG_CONFIG_HOME with ~/.config if you don't have it as an environment variable.
You'll find the user configuration files for most XFCE4 applications in that $XDG_CONFIG_HOME/xfce4 folder, so you might want to sim... | Where are the Linux Mint xfce keyboard shortcuts saved? |
1,394,674,674,000 |
I want to disable 'app folders' in the GNOME menu, because I want to have all applications sorted alphabetically. gsettings set org.gnome.desktop.app-folders folder-children [] lets the folders disappear, but after a reboot the app folders were set back to default. How can I make the settings persistent ? What do I ha... |
It has to be [''] instead of [] - Thanks and reference to the user zdenek from the ask fedora platform who helped me to figure it out and find the solution : How to make app folders settings permanent?
The command is : gsettings set org.gnome.desktop.app-folders folder-children ['']
| How can I disable app folders in the GNOME menu permanently? |
1,394,674,674,000 |
I am currently using Linux Mint 19.03 Cinnamon.
Issue
I launch gnome-calculator with Cal shortcut button and when I press that button, new gnome-calculator window is spawned. I don't want this behaviour.
Expected result
I am expecting the Cal button launches gnome-calculator but if it is already running, when Cal is ... |
I've found the answer. This problem turns out not a specific DE problem. It's the behavior of the app itself which is gnome-calculator.
I've found two methods(or workarounds) for doing this:
Using wmctrl
So, the basic command is this:
wmctrl -xa gnome-calculator || gnome-calculator
To make it work in dconf command, w... | How to focus program window instead of spawning new one if it's already open |
1,394,674,674,000 |
When I launch meld with sudo, su, gksu or gksudo I have the following output:
(meld:1666): GLib-GIO-CRITICAL **: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
(meld:1666): GLib-GIO-CRITICAL **: g_dbus_proxy_get_name_owner: assertion 'G_IS_DBUS_PROXY (proxy)' failed
(meld:1666): dconf-WA... |
According to this topic: dbus not accessible via kdesu/sudo, but recompiling dbus helps, I have to recompile dbus.
So this is what I did on my Archlinux system
# installs arch build system
sudo pacman -S abs
# download the abs dbus (do it with the root user)
abs core/dbus
# copy the files in my HOME
cp -r /var/abs/c... | Unable to change the settings in meld when I launch it with sudo |
1,394,674,674,000 |
When I install Linux Mint (Mate, Qiana) I like to make Mate panel more wide (or may be "higher").
Default it is near 20 pixels. I make it, for example, 45 pixels. I can easy set it by right button click mouse on the panel.
Now I want to make file with all my preferences that I use to install in Linux. There will be c... |
I don't have a MATE environment to test on but in general, this type of thing can be set using gsettings. Try this:
gsettings set org.mate.panel.toplevel:/org/mate/panel/toplevels/bottom/ size 45
That should set the value you want. For more details, see http://wiki.mate-desktop.org/docs:gsettings.
| How to set size of mate-panel via command line (not via dconf)? |
1,394,674,674,000 |
I am working with gnome 3.28.2 on CentOS 7.6 and have been trying to set global values for certain parameters in the dconf key files as explained here and using the screensaver example here along with locking the settings explained here
I have created a file /etc/dconf/db/local.d/00-configuration_gnome with the follow... |
If you look at the schema definition (found in /usr/share/glib-2.0/schemas/org.gnome.SessionManager.gschema.xml):
<schemalist gettext-domain="gnome-session-3.0">
<schema id="org.gnome.SessionManager" path="/org/gnome/gnome-session/">
<key name="auto-save-session" type="b">
<default>false</default>
..... | Certain parameters in dconf keyfiles not being taken into account/used |
1,394,674,674,000 |
The solution given in Custom global keybindings in cinnamon via gsettings is not working in Linux Mint 20.
I monitored the changes using dconf watch / and the following changes were made while creating the shortcut using GUI:
/org/cinnamon/desktop/keybindings/custom-list
['custom0']
/org/cinnamon/desktop/keybinding... |
You can use the following lines as an example
dconf write /org/cinnamon/desktop/keybindings/custom-list "['custom0']"
dconf write /org/cinnamon/desktop/keybindings/custom-keybindings/custom0/command "'tmux new-session -d "/home/blueray/src/Translate/screen_ts.sh"'"
dconf write /org/cinnamon/desktop/keybindings/custom-... | Custom keybindings For Linux Mint 20 via gsettings |
1,394,674,674,000 |
As background: Electronics engineer, follow suckless philosophy (where posible), no knowledge about X and and any kind of toolkits (GTK or Qt), using arch linux, cannot stand GNOME.
It bothers me that gtk3 package has dconf and gsettings dependence. I cannot find a compeling explanation of what gsettings is used for ... |
Short answer
(as I understand this):
dconf is database system which keeps settings (GVariants) in database files and it is on the bottom layer.
dconf schemas are the files which contain structure of these database files.
gsettings is an API and a toolkit to store and retrieve this settings from and to database.
Long ... | GTK3 gsettings usage |
1,394,674,674,000 |
It seems that GNOME 43 removed the ability to adjust the width of the left sidebar in Nautilus (named Files now, apparently?) by dragging the border. Does anyone know a workaround for this? I'd like to make it wider than the default. The org.gnome.nautilus.window-state.sidebar-width property in dconf doesn't do anythi... |
There is an issue thread posted on the Gnome file repo, see
Sidebar too wide, doesn't reflect sidebar items width.
The options you mentioned are no longer available, which is confirmed in the issue thread.
IMHO, there are 2 workarounds so far,
compile the un-merged version e.g. Draft: ui: Use AdwAdaptiveState to mana... | Fedora 37 with GNOME 43 - adjust Files/Nautilus sidebar width |
1,394,674,674,000 |
I'm on Arch Linux + GNOME 3.32 + Wayland
I want the touchpad to be disabled when an external mouse is connected.
I know there's a great extension for this that I've been using for long time, but it is currently (at time of writing) not working with GS 3.32 yet. So, I discovered that it can also be done via dconf:
To d... |
Ok, as a workaround I added the following to ~/.bashrc file:
dconf write /org/gnome/desktop/peripherals/touchpad/send-events "'disabled-on-external-mouse'"
This is executed at every login and restores the wanted settings
| GNOME: disable touchpad when external mouse is connected (keep dconf setting across sessions) |
1,394,674,674,000 |
I am trying to fix the power button on gnome 3 not shutting down the system and as don_crissti said in this thread (Gnome 3: how to set power button to shutdown instead of suspend?) that options was removed.
He also mentions that you can fix it
if you're willing to patch and rebuild gnome-settings-daemon
so how woul... |
Make a directory build and download patch there, saving it as d.patch.
Follow this script (I have saved whole session, so you know from which directories you should cast these spells).
[user@MACHINE build]$ git clone git://git.gnome.org/gnome-settings-daemon #download GSD source
[user@MACHINE build]$ git clone git://g... | How to patch and rebuild gnome-settings-daemon? |
1,298,651,148,000 |
How can I clear the DNS cache in DD-WRT on my router?
DD-WRT uses the dnsmasq daemon.
|
According to Flush dnsmasq dns cache:
dnsmasq is a lightweight DNS, TFTP and DHCP server. It is intended to provide coupled DNS and DHCP service to a LAN. Dnsmasq accepts DNS queries and either answers them from a small, local, cache or forwards them to a real, recursive, DNS server. This software is also installed ma... | How to clear DNS cache on DD-WRT |
1,298,651,148,000 |
I have several machines on my LAN. Most of them Ubuntu based. Router has DD-WRT (v3.0-r33675M kongac Release: 11/03/17) firmware.
I have set DHCP to serve network settings for all my computers. Router has been set to use 9.9.9.9 for DNS server.
Now I want to verify my computers are using quad9 for DNS, but I am unabl... |
You can use tcpdump to see where the DNS traffic goes:
# tcpdump -i eth0 -n udp port 53 or tcp port 53
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
16:09:02.961122 IP 192.168.115.15.49623 > 192.168.115.5.53: 6115+ A... | How do I verify I am using 9.9.9.9 for DNS? |
1,298,651,148,000 |
I've been looking everywhere for this. Does anyone know how to block a specific URL on a DD-WRT router? For example, I want to block website.com/whatever but not website.com, blah.website.com, or website.com/blah. Is there a way to do this, or can you only block the whole domain?
I tried adding the URL in question und... |
Unfortunately, the impression I get (from the DD-WRT forums) is that you can only block domains under Access Restrictions in the DD-WRT setup.
I've decided instead to set up a dedicated proxy server with DansGuardian installed on it, which will allow me a fine level of control, and block any requests that don't go thr... | How can I block a specific URL on a DD-WRT router? |
1,298,651,148,000 |
I have an ASUS RT-N16 router that I've flashed with the open-source DD-WRT firmware. According to my ssh login, I'm running:
DD-WRT v24-sp2 mega (c) 2010 NewMedia-NET GmbH
Release: 08/07/10 (SVN revision: 14896)
I'd like to be able to customize the iptables rules, but before I do that, I'd like to see the output of ... |
Looking in
/tmp/.ipt
/tmp/.rc_firewall
gives exactly what I was looking for: the iptables rules as they would normally be in a file like /etc/sysconfig/iptables.
I had earlier found this:
dd if=/dev/mem | strings | grep -i iptables
...and fortunately, it works on the pared-down DD-WRT filesystem. It didn't give pre... | Where is iptables script stored on DD-WRT filesystem? |
1,298,651,148,000 |
I would like to be able to add a parameter to certain URL requests that go through my DD-WRT router. Specifically, I'm trying to figure out how to force safe search in Google, which means I have to append safe=on to any URL requests that begin with *google*.
I've read about running a server on the router that acts as ... |
You can't do this in a sane way for Google search queries.
Why? Google is using HTTPS (SSL) everywhere now. All traffic between the endpoints (browser & Google server) is encrypted and checked for integrity.
The only way to read (let alone modify) encrypted traffic is changing it at or beyond on one of the endpoints. ... | How can I enable URL rewriting on a DD-WRT router? |
1,298,651,148,000 |
I have DD-WRT installed on my router and I would like to be able to restrict the bandwidth both up and down on a certain IP or Mac address. I am happy to get my hands dirty and use console.
I am sure that iptables can do this? If so could someone show me a quick example?
|
Well, unfortunately I haven't found a simple way to do this otherwise I would give you some examples; however, the tc command will do what you need.
Tc is a traffic shaping utility that is built into the Linux kernel. Be prepared, it isn't for the faint of heart. I recommend doing a good bit of reading about the queu... | Restrict bandwidth with DD-WRT |
1,298,651,148,000 |
I'm trying to redirect all traffic on my wifi router to a local webserver using iptables. I'm not sure I have got the command right and also I want to exclude the router IP (172.16.0.1) from the rule to prevent myself from locking myself out from accessing the router.
What I've come up with so far:
iptables -t nat -A ... |
All you need is this single rule:
iptables -t nat -I PREROUTING --src 0/0 --dst 172.16.0.2
This will insert into PREROUTING chain (?=-I) of the nat table (-t nat) the rule, that says:
Any incomming (-src 0/0) packets with destination address 172.16.0.2 (--dst 172.16.0.2).
Things to remember are:
To redirect incoming... | Using iptables to redirect all traffic to local webserver |
1,298,651,148,000 |
I want to mount my usb drives using UUID or Labels. The busybox provided mount does not support these functions.
I installed mount-utils from entware. However the busybox mount overrides the mount from mount-utils.
I have installed DD-WRT v24 sp2 kongac build:26365 on Netgear r7000.
How do I do this? I need this as I ... |
If this busybox comes with findfs you can do
mount $(findfs UUID=cb586ec4-e121-437c-83db-e46df501e046) /mnt/dest
mount $(findfs LABEL=foobar) /mnt/dest
Otherwise you'll just have to find room for a better version of busybox I guess? You can download some precompiled ones for various architectures here: http://www.bus... | DD-WRT and mount command |
1,298,651,148,000 |
i have done the following on my Asus WL-520gu
Installed the dd-wrtv24-sp2 mini svn:13064
Updated for usb support
Installed optware package
Activated the transmission client
but i keep getting a permission error for files.
I think it is a user access thing.
How to resolve this issue? Is there any way to ignore user p... |
Don't change the daemon to run as root. Change the permissions on the folder where your daemon has to write so that it is allowed to do so.
Assuming it's running as user transmission, run something like this as root:
chown transmission /mnt/data/torrents/downloads
chmod u+rw /mnt/data/torrents/downloads
| "Error: permission denied" error from Transmission Client |
1,298,651,148,000 |
I have recently installed DD-WRT on my D-Link DIR-615 router (rev. D3). Everything seems fine but I cannot connect to some (most) FTP servers anymore. Any ideas what can cause this issue?
--
Passive/active doesn't make a difference.
I've discovered something interesting. I've set up a port range forwarding 1024-65535 ... |
This is an old topic, but someone might still find my solution useful: update your firmare. DD-WRT provides updated versions and the last one I could find here http://dd-wrt.com/site/support/other-downloads?path=others%2Feko%2FBrainSlayer-V24-preSP2%2F works. I can finally use FTP.
| FTP issues after installing DD-WRT |
1,298,651,148,000 |
I have a Arch Linux system on my home network and its MAC address is setup in my Linksys running DD-WRT to receive a static lease. However, this system is not getting the static lease from the DD-WRT, but rather a random ip from the dynamic pool. I tried various things, like forcing a lease renewal, but to no avail. H... |
I did this exact thing this morning.
First, double check that the lease isn't allocated. Go to the Status page and then the LAN page on DD-WRT. Check the lease in the list of DHCP clients. If it's allocated, click the trash can.
I also have my lease set to 5 minutes. If I left it for a whole day, which is the default,... | Arch Linux not picking up static DHCP lease from DD-WRT |
1,298,651,148,000 |
I'm trying to get NFS working properly on a DD-WRT install using OTRW2. I can see and mount the share from the client. But when I do, the mounted folder changes it's owner to root:root and so my normal user does not have write access.
I saw this post by Frater (the original author of the scripts), in which he says tha... |
You cannot change permissions on this mount:
/dev/sda3 on /tmp/mnt type vfat rw,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)
Notice the type is VFAT. You can only change permissions using chmod on EXT type permissions, or ones that actually support it.
You can either reformat it as EXT4, mkfs.ex... | NFS Ownership/Permissions |
1,298,651,148,000 |
I have a D-Link DI-624 rev. D2 Router. It is based around an Atheros AR2316A-001 chipset, and has 8MB RAM.
I opened the device to check for actual parts use in it, and I can confirm, it is indeed the AR2316A-001 chipset with PSC A2V64S40CTP (8MB RAM). I couldn't locate the flash chip, the original firmware is 1MB in s... |
Until you determine, what type and size of Flash ROM is used in the device, you should not risk flashing it with anything other than dedicated firmware. Atheros chipsets are very common across a wide range of wireless devices and the sole fact of using a particular chip does not guarantee that the entire device will w... | D-Link DI-624 H/W ver. D: Flashing OpenWrt |
1,298,651,148,000 |
I have an HP OfficeJet 8600 printer in my office that's around 10 years old but still works perfectly fine. I occasionally use this printer to scan to a samba share hosted on my DD-WRT router. I recently upgraded the software on the router, and I'm redoing everything to make sure it's all up to date and secure as I so... |
I ended up going with the VM route, though I did it a little bit differently than stated. I set up Samba on the VM to allow SMBv1 connections, but limited the IPs that can connect. In my router I set static leases and importantly set the expiration to infinity (aka blank in dd-wrt). This is so that even if someone wan... | Printer stuck on insecure Samba version |
1,298,651,148,000 |
I am trying to configure a secondary network for my IOT stuff. I want to allow only a few device internet access and the rest should be "jailed" to that network. Also, all devices on the IOT network should be able to access my MQTT server that is on my main network.
My setup is as follows:
Firmware: DD-WRT v3.0-r3401... |
First thing: -I means insert at the head, ie prepend. Use -A to append at the end. -A might not actually work as expected if you don't also look at other iptables rules that might have been already put before. So let's keep using -I but with a incremented line number after to choose where to insert and have the rules ... | dd-wrt: prevent VAP from accessing the internet |
1,298,651,148,000 |
I recently installed DD-WRT on my Netgear R7000 router and want to log DNS queries. So far without much luck.
I'm running DD-WRT v24-sp2 kongac, build 23900M.
syslogd is running and currently writing to /var/log/messages. I also have the firewall logging to the same directory which is working.
I have DHCP and DNSMasq ... |
After some searching and digging, I found that dnsmasq logging was disabled on the firmware image I was using. (source: https://www.dd-wrt.com/phpBB2/viewtopic.php?p=649213)
I upgraded the firmware to 24760M and logging worked.
| DD-WRT DNSMasq logging help |
1,298,651,148,000 |
I bought TL-WR1043ND and flashed it with DD-WRT. Now Im wondering if it's possible to use physical WAN port and wireless client WAN for internet usage and at the same time broadcast SSID for wired and wireless clients to share files?
Here's a quick mockup in Paint:
Network map made in paint http://hostogo.com/image-1E... |
As far as I know, you can't use the wifi as AP and client at the same time, but you can use one usb wifi as client for 2nd WAN link.
| Can I use 2 WANs on DD-WRT? |
1,298,651,148,000 |
Why can't I add any iptables rule?
root@ROUTER:~# iptables -L INPUT -v
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
6934 685K ACCEPT 0 -- any any anywhere anywhere state RELATED,ESTABLISHED
0 0 DROP udp -- ppp0 any anywhere anywhere udp dpt:route
0 0 DROP udp -- b... |
iptables -I INPUT -i ppp0 --dport 21 -j DROP is syntactically wrong (it lacks of protocol specification), therefore we can assume it just silently fails. This one is correct:
iptables -I INPUT -i ppp0 --dport 21 -j DROP -p tcp
so give it a try instead.
| Why can't I add any iptables rule? |
1,298,651,148,000 |
I am wanting to run some scripts which include iptables rules from Apache (running on port 81 on dd-wrt). I can't seem to get these to work because I lack the permissions. I'm hoping someone can point me at something I missed which does not require recompiling Apache.
I am running dd-wrt v3.0-r33525M kongac (10/1... |
As your system is restricted, there are probably few security implications in simply making the iptables binary setuid root. I don't know dd-wrt but the Linux equivalent would be, as root:
chmod u+s /sbin/iptables
assuming the file belongs to root. If the system supports capabilities, a more secure option might be to... | How to run cgi as root in dd-wrt from apache |
1,298,651,148,000 |
I am currenttly refining the Firewall Rules on my DD-WRT Router.
Specifically my question is about this Rule:
iptables -I INPUT -i eth1.10 -d ! 192.168.10.0/28 -j DROP
I was wondering if it was possible to somehow enforce the Rule on an Interface level, so that the interface would only respond on an ICMP Request dire... |
(I admit I don't understand all the switch settings but that's not relevant to the question.)
Your current rule, in filter/INPUT prevents packets from eth1.10 to reach router's owned IPs other than 192.168.10.0/28, so it indeed has the intended effect of not allowing IPs coming from eth1.10 to access 192.168.1.1.
Why... | Block ping to interface in different subnet |
1,298,651,148,000 |
So i've seen the WOL scripts and they seem like they could work well when i'm trying to connect from a computer that is outside my router.
Script i'm using:
http://www.dd-wrt.com/wiki/index.php/Useful_Scripts#Web_Server_Wake-up
Now the problem that i see is that when ever i'm home the WOL script will be useless bec... |
Solved it by moving the server in question to a dedicated VLAN and then logging the traffic between it and the rest of the network by using specific iptable rules triggered on some ports.
I will have a full writeup on my site when i finish the project and will update this answer then.
| Use DD-WRT to auto WOL when traffic is on same subnet |
1,298,651,148,000 |
I'm planning on getting a D-Link DIR-600 to be used as a WLAN access point, and for WEP/WPA certificate management.
I know it works with DD-WRT, and OpenWRT, but not Tomato. Now, I've been looking what firmware I can put on that device, prior to getting it. Tomato is my favorite option, but since it doesn't work with ... |
DD-WRT and OpenWRT are your two best bets for the D-600. They can do most o fwhat Tomato can do, so unless you need something specific to Tomato, this router should be fine.
| What firmware works with a D-Link DIR-600? |
1,460,253,961,000 |
I have been trying to create a bootable debian (jessie/8.4) image for the past 2 days, and as far as I can tell I have the procedure right, but I can not get the filesystem right. I am relatively sure that I am doing something wrong here, missing something with mounting or /etc/fstab (there isn't one in my image). I w... |
Kept at it and figured it out, relatively straight forward from here, but not just a matter of setting up /etc/fstab, here is the rest:
not necessary but a good idea to clean things up
apt-get autoclean
set up /etc/fstab - check with mount to ensure you are on the right filesystem type
echo "/dev/sda1 / ext4 defaults... | Creating bootable Debian image with debootstrap |
1,460,253,961,000 |
In the past years I used debootstrap to install my desktop Debian (daily usage) and I'm planning to use it once again, but until now I just used debootstrap default options, this time instead I'd like to install a minimal system.
I did some search but so far found nothing I didn't already knew, most articles say bare ... |
I use the option --variant=minbase which seems to be fairly minimal (about 150MB).
No text editor, but essential GNU tools, package manager, and networking functionnalities with iproute2.
| the most minimal Debian/sid installed with debootstrap? |
1,460,253,961,000 |
If I run debootstrap in with sudo I get the following output:
I: Retrieving InRelease
I: Failed to retrieve InRelease
I: Retrieving Release
E: Failed getting release file http://de.archive.ubuntu.com/ubuntu/dists/xenial/Release
If I run the command directly as root, all seems well and the chroot will be built perfe... |
sudo sets up only a limited environment and you might for instance miss the http_proxy env variable that gets initiated by your login shell.
You might try to run sudo with the -i option as that will simulate a login session which might load a more complete environment that includes proxy settings or modify /etc/sudoer... | Failed getting release file while running debootstrap with sudo |
1,460,253,961,000 |
I want to download Debian system using debootstrap (creating chroot environment) and when I run debootstrap stable ./dir $debian_ftp, debootstrap says:
E: debootstrap can only run as root
Why can't debootstrap be run without root permissions?
|
You need to be able to create a chroot when you use debootstrap. Plus if you plan on partitioning, or doing any mounts, etc. you will need root permissions.
If you check out the debootstrap manpage you should be able to use debootstrap with the --variant=fakechroot option to use fakechroot, which installs the packages... | Why debootstrap can only run as root? |
1,460,253,961,000 |
I'm working on a script to create a fully encrypted washable system from debootstrap. It's doing some good, but the initramfs image that comes out does not pick up the cryptroot properly. After booting the image with qemu, I'm dropped to a busybox shell and I have to unlock the luks encryption manually with cryptsetup... |
Using /etc/initramfs-tools/conf.d/cryptsetup is deprecated in stretch.
The new preferred method is to set "CRYPTSETUP=y" in /etc/cryptsetup-initramfs/conf-hook.
In buster and later, this configuration parameter appears to be redundant, as the default behaviour seems to be to configure cryptsetup in initramfs IFF the i... | Initramfs in debootstrap chroot of fully encrypted system |
1,460,253,961,000 |
The hoster I am using provides a Debian 8.10 (kernel 4.9.85) as a rescue system. In the past I've been using that to bootstrap Ubuntu using debootstrap from here.
I am using a few preparational steps auch as installing apt-cacher-ng which is the reason for the localhost:3142 in the URL I am using (http://localhost:314... |
Alright I figured it out. The invocation of debootstrap did indeed indicate failure by returning an exit code of 1. I missed that because of how I was chaining several commands and using subshells.
Once I had figured that out, I had to find what issue debootstrap was encountering. It wasn't obvious from the /debootstr... | Having a bit of trouble debootstrapping a Ubuntu (18.04) via Debian 8.10 |
1,460,253,961,000 |
I'm trying to use debootstrap to create a Debian Squeeze chroot (from Debian Squeeze (stable)), so I can install some no-longer-supported software. But I get an error:
$ sudo debootstrap --keyring=/usr/share/keyrings/debian-archive-keyring.gpg squeeze /srv/basket/ http://archive.debian.org/debian/
I: Retrieving InRele... |
If you give debootstrap the right keyring, it will use the expired key:
sudo debootstrap --keyring=/usr/share/keyrings/debian-archive-removed-keys.gpg squeeze /srv/basket/ http://archive.debian.org/debian/
An expired key can be used to verify signatures made before it expired.
| How can I use an expired key with debootstrap? |
1,460,253,961,000 |
Is there a way to list the packages that debootstrap is going to download? Also, is there a way to tell debootstrap to download a user-specified list of packages?
|
For the first, you use --print-debs, which shows you a list of packages that are going to be downloaded for a specific target. The second, you can use --include/--exclude switches for this task:
--include=alpha,beta
Comma separated list of packages which will be added to download
and extract lis... | Listing and specifying packages in debootstrap |
1,460,253,961,000 |
From my understanding, the debootstrap program with the minbase option only installs packages with "essential priority" (and possibly apt). Is there a web resource which lists all packages with different priority levels? All I really need is a list for priority levels of essential, required, important, and standard an... |
I’m not aware of anything giving the information you’re after, on the web. (Arguably it should be added to the package pages.) You can however get the information you’re after by querying the UDD, for example using the unofficial, publicly-accessible UDD mirror:
$ psql --host=udd-mirror.debian.net --user=udd-mirror ud... | List of Debian packages with essential priority |
1,460,253,961,000 |
i want to install a specific version of Ubuntu or Debian, In ubuntu i want to debootstrap the specific version 16.04.0, and i'm using this code:
debootstrap --arch=amd64 --variant=buildd xenial "/home/ubuntu/Documents/myrootfilesystemdir" http://archive.ubuntu.com/ubuntu/
But unfortunately, after finish the debootstr... |
Debian doesn’t maintain old point releases in an installable form in its main archives, and I don’t think Ubuntu does either; a new network-based install of either will install the current point release.
However, at least for Debian, you can use snapshots to install an older point release. See this Super User Q&A for ... | How to Debootstrap specific version in Ubuntu or Debian? |
1,460,253,961,000 |
From https://manpages.debian.org/wheezy/multistrap/multistrap.1:
--no-auth - allow the use of unauthenticated repositories. Same as noauth=true
What I understand from this definition is that multistrap won't try to authenticate, so unsafe software might be installed.
However it doesn't seem to be the case: Setting... |
Your understanding is correct. However, there is a bug in multistrap so that it does not correctly configure apt to install packages unauthenticated. A description of the problem and a patch to fix it are available in debian bug report #908451 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908451).
More info on no... | What exactly does the "noauth" property mean in multistrap config? |
1,460,253,961,000 |
Does cdebootstrap provide any advantages to debootstrap? What is the difference between the two other than the implementation language?
|
debootstrap and cdebootstrap offer largely similar sets of functionalities; they can install Debian and certain derivatives, in one of three flavours (standard, i.e. a base Debian installation; minimal, i.e. only apt and essential packages; and build-oriented, i.e. build-essential and its dependencies). They both also... | cdebootstrap vs debootstrap: what is the difference? |
1,460,253,961,000 |
I'm using debootstrap to create a rootfs for a device that I want to then write to an image file. To calculate the size needed from my rootfs, I do the following:
local SIZE_NEEDED=$(du -sb $CHROOT_DIR|awk '{print $1}')
SIZE_NEEDED=$(($SIZE_NEEDED / 1048576 + 50)) # in MB + 50 MB space
dd if=/dev/zero of=$ROOTFS_IMAG... |
Possibly the simplest solution is to heavily overprovision the space initially, copy all the files, then use resize2fs -M to reduce the size to the minimum this utility can manage. Here's an example:
dir=/home/meuh/some/dir
rm -f /tmp/image
size=$(du -sb $dir/ | awk '{print $1*2}')
truncate -s $size /tmp/image
mkfs.ex... | How to calculate the correct size of a loopback device filesystem image for debootstrap? |
1,460,253,961,000 |
I have written a shell script which debootstraps a Debian system into a directory, chroots in there, sets everything up (passwords and SSH keys and so on), and generates a bootable image file from it.
A few additional packages are defined in debootstraps --include option. One of them is locales.
When the image is boot... |
In the chroot: configure /etc/locale.gen to your liking, then run locale-gen.
| How to add locales to a chrooted system programmatically? |
1,460,253,961,000 |
Every now and then I'm debootstraping debian into a local directory. Until 3 hours ago it worked fine, however, now I get this error message:
Command
debootstrap --include linux-image-4.9.0-3-amd64,sudo,openssh-server,hdparm,net-tools,udhcpc stretch /tmp/generate-image/mount
Output
I: Retrieving InRelease
I: Retriev... |
The stable kernel is now linux-image-4.9.0-4-amd64, you need to specify that instead.
Better yet, tell debootstrap to include linux-image-amd64 instead of a specific version, that way you’ll always get the current stable kernel and you won’t run into such issues.
(The sudden disappearance of the old package is related... | Couldn't find these debs: linux-image-4.9.0-3-amd64 |
1,460,253,961,000 |
I need to set the arch option in debootstrap. So I did some research and read the manual.
After reading the manual I see that the section on the options simply says
--arch=ARCH
Implying that I should know the correct syntax for the architecture I need.
I don't. I need 64 bit architecture.
I know that "i386" can be u... |
The possible values are the codenames of the architectures supported by the target operating system. For Ubuntu, check the architectures for which the C library is built: for 64-bit x86, the appropriate value is amd64.
On systems with dpkg,
dpkg --print-architecture
will show the current architecture (which is the de... | What are the possible options for the --arch option in debootstrap? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.