Debian Configuration :: Rules With Ipset After Restart
Mar 8, 2016
I'm using Debian 8 and I have ipset v6.23 and iptables v1.4.21. I put a rule with ipset in rules.v4 file and then I restart the iptables with netfilter-persistent service. When I reboot the iptables list is empty. But if in the file I don't put a rule with ipset, after reboot the iptables list is correct.
View 4 Replies
ADVERTISEMENT
Apr 2, 2011
I recently tossed Ubuntu for Debian Unstable for my personal machines and I'm having trouble building Emerald into a package. I've already configured and installed the package (using the usual ./configure, make, make install) but I wanted to make a deb for future use (for myself and for others). However every time I try to run dpkg-build I get the following error message.
dh_install -pemerald --sourcedir=debian/tmp
dh_install: emerald missing files (usr/bin/*), aborting
make: *** [binary-install/emerald] Error 2
dpkg-buildpackage: error: debian/rules binary gave error exit status 2
[Code]...
View 2 Replies
View Related
Sep 2, 2010
I may not searched deeply enough but is somewhere desribed what variables are available in debian/rules package build script generated by dh_make ? I know about CURDIR f.E. but what about package Version (defined in debian/control) ?
View 2 Replies
View Related
Apr 18, 2016
I have SSD drives without SCT support, because of this I want to tune /sys/block/device-name/device/timeout in order to force mdadm put these drives offline. So, I can see my drive like this:
/dev/disk/by-id/ata-OCZ-SABER1000_A22MJ061512000074.
Where can I tune /sys/block/device-name/device/timeout from 30 to 7 sec only for these drive? I don't want to use rc.local.
Can I create right udev rules for it in /etc/udev/rules.d?
I want to avoid any conflict with /lib/udev/rules.d.
Code: Select all# udevadm monitor --environment --udev
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
UDEV [9302.549485] add /devices/pci0000:00/0000:00:01.2/0000:03:00.0/host0/target0:0:0 (scsi)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:01.2/0000:03:00.0/host0/target0:0:0
DEVTYPE=scsi_target
SEQNUM=5210
SUBSYSTEM=scsi
[Code] ....
View 0 Replies
View Related
Dec 30, 2010
I'm having some trouble with the configuration of the iptables. I want to setup a network server to serve as Fail Over (for my 2 ISPs), DHCP and DNS. I have 3 network cards, 2 connected to ISP's routers and 1 that serves as UPLINK for my switch.
I want to add some Iptables rules so I can achieve what I want to do. The problem is that the rules I try to use, they have to effect.... they don't load, here are the rules I am trying to add:
#iptables --table nat --append POSTROUTING --out-interface eth1 -j MASQUERADE
#iptables --table nat --append POSTROUTING --out-interface eth2 -j MASQUERADE
#iptables --table nat --append POSTROUTING --out-interface eth2 -j SNAT --to EXTIP
When I try to check to see if it loads, with the command:
#iptables -L
It returns empty
View 2 Replies
View Related
Mar 28, 2011
I'm trying to allow non-root account to use avrdude to program mucrocontrollers. There are many articles online about how to do that, but it seems not to work for me. Every time i try to execute avrdude it says "permission denied". Here's "$ udevadm info --name=/dev/bus/usb/002/011 --attribute-walk" says looking at device '/devices/pci0000:00/0000:00:1d.1/usb2/2-1':
KERNEL=="2-1"
SUBSYSTEM=="usb"
DRIVER=="usb"
ATTR{configuration}==""
[code]....
However, after restarting udev, replugging the device, even rebooting the computer I still get "permission denied". The Vendor and Product match, so what's the problem?
View 7 Replies
View Related
Apr 14, 2010
After yesterdays upgrade of Squeeze, my Synaptics touchpad's udev configuration is ignored on my EeePC. It was working fine before. Are there any changes in how it is supposed to be configured or is it just broken?
View 3 Replies
View Related
Dec 1, 2015
I'm trying to use these cookie cutter rules that I found. But every time I use them, after a few seconds my wifi connection goes dead. The exception was the first time I used then. Which lasted me a couple of minutes.
By dead I mean I can no longer open a webpage or ping google.
iptables -N LOGGING
iptables -A INPUT -j LOGGING
iptables -A OUTPUT -j LOGGING
iptables -A LOGGING -m limit --limit 2/min -j LOG --log-prefix "IPTables-Dropped: " --log-level 4
iptables -A LOGGING -j DROP
View 9 Replies
View Related
Aug 17, 2011
My system is a three days old Linux version 2.6.32-5-amd64 (Debian 2.6.32-35) with an Intel(R) Core(TM) i7 CPU 60 @ 2.80GHz. It does start, goes through the grub and then spits out strange messages and just freezes before the KDE can be started. I have to restart again, until it really boots everything. This is happening in a random pattern.
I activated bootlog, but as far as I can see, the log only tracks, if the system is really booting. So I also have the dmesg copied into pastebin. These are the only two logs I know, now.
The code of the boot log goes here-
Wed Aug 17 10:24:19 2011: Setting parameters of disc: (none).
Wed Aug 17 10:24:19 2011: Setting preliminary keymap...done.
Wed Aug 17 10:24:19 2011: Activating swap...done.
[Code].....
View 9 Replies
View Related
Aug 11, 2011
Some problems keep bothering me and dont let me use my debian sqeeze with joy.Im in network with no DHCP on. When installing i didnt configure my eth network card.After each restart i need to configure manually my eth because it loses it.
View 7 Replies
View Related
Dec 29, 2010
I wanted to ask how to restart the Debian Server. It should start daily, at 2-3 o'clock in the morning. Don't know how to program the server.
View 4 Replies
View Related
Oct 20, 2014
I've after latest jessie update a problem with service samba restart. If I use "service samba restart", there is a timeout (after long time) and error.
Output of "systemctl status samba.service":
Code:
Select all● samba.service - LSB: ensure Samba daemons are started (nmbd and smbd)
Loaded: loaded (/etc/init.d/samba)
Active: failed (Result: timeout) since Mo 2014-10-20 02:16:57 CEST; 7s ago
Process: 6205 ExecStart=/etc/init.d/samba start (code=killed, signal=TERM)
Okt 20 02:16:57 server systemd[1]: samba.service start operation timed out. Terminating.
Okt 20 02:16:57 server systemd[1]: Failed to start LSB: ensure Samba daemons are started (nmbd and smbd).
[Code] ....
Whats going wrong. "service samba restart" should bring no error message if the service is not running previously.
View 2 Replies
View Related
Apr 19, 2011
want to disable apache2 so that it does not restart on boot so that I may evaluate lighttpd
View 1 Replies
View Related
Jul 12, 2011
Now Debian6 suspend and rstart is all ok!
Auto start a program with login is ok.
How to auto start a program with debian suspended and restart ?
Maybe with gdm3 or NIC....?
How can I catch a event to auto start my program?
View 1 Replies
View Related
Jan 11, 2011
I'm using RHEL 5 with the Enhanced Security. Using the suggest NISPOM Red Hat documented settings (located on the system; copy - paste) I have managed to audit failed file open accesses however, this setting only retained if I enter it at the command line (/sbin/auditctl -a ). If I reboot the system or restart the service all my -a (not -w) located in the /etc/audit/audit.rules are not retained.
View 6 Replies
View Related
Feb 12, 2010
So this very (for me) important little package fails me once again. But this time it refuses to restart/start
This is the output:
Setting up openssh-server (1:5.3p1:-1)
Restarting OpenBSD Secure Shell Server: sshd: failed!
/dev/null is not a character device!
invoke-rc.d: initscript ssh, action "restart" failed.
[Code].....
The error is within the /etc/init.d/ssh script. ("error")
This is in squeeze so I can only blame my self, but.. This is one of the packages that fair and square should not fail to install/update/start/restart no mather what!
View 9 Replies
View Related
Mar 14, 2011
in configuring a fresh install of Squeeze. I discovered that it is possible to power off the system under gnome simply by pressing the power button or by selecting the "Shut Down" entry on "System" menu.However I need to restrict this option only to root. How can I do that?
View 7 Replies
View Related
May 28, 2011
I installed the latest Debian on a computer to make a backup appliance. No GUI.When the computer starts, everything is okay. The DHCP client is running, the network interface have an address, fine.If I do a /etc/init.d/network restart (or stop + start), no more DHCP client. t is stopped when the interface is down. When the interface is up, I have to start it manually.1 - is it normal ?2 - isn't ifup's job to launch the dhcp client ?3 - can /etc/network/if-up.d be the right place to resolve this ?
View 4 Replies
View Related
Jul 3, 2011
I am having slight issue with setting up file sharing. I have a windows 7 pc and hp proliant microserver running. I have a raid array which I am using as a share for storing music, pictures etc. When I reboot the debian server I can't connect to the server from the windows 7 PC (I have mapped a network drive) until I go on to the server and restart samba with /etc/init.d/samba restart - then everything works fine. I can ping the server with both ip and hostname but the network drive does not connect - this is straight after a reboot. Is the /etc/init.d/samba restart doing something differently to when the server boots? I have read several posts relating to printer sharing issues which point to samba not starting before cups so I am wondering if samba is starting before some of the relevant networking services.
View 2 Replies
View Related
Jul 23, 2010
I'm using debian 5 x64 with xfce.Is there a way to configure (start/stop/restart) services (especially Apache2, mySQL and PHP) using a graphical or cli tool? I tried to use sysv-rc, sysv-rc-conf, rcconf and rc-conf in the terminal but Bash didn't find them (Although Synaptic show that sysv-rc is installed).
View 9 Replies
View Related
Oct 29, 2010
I am using Centos 5. I got one error unexpectedly after some configuration for rsync and folder settings. The error i am getting is "Serve Authorization directory (daemon/ServAuthDir) is set to /var/gdm but does not exist. Please correct the configuration and restart GDM." after rebooting.
I tried to resolve the issue by setting permission for folder /var/gdm to 755. but the problem is still not resolved.
View 1 Replies
View Related
Apr 5, 2010
Whenever I choose "Restart" from the GDM screen, GDM appears to shutdown, and the first TTY is displayed with a login prompt at the bottom (assuming I haven't used that TTY). I am by no estimation a patient individual, but I waited a solid minute or two for something to happen, but nothing ever did. I end up logging in as root on that TTY and running "shutdown -r now" to get the job done. This is a shared computer, and ideally any user should be able to perform shutdown options graphically from GDM.The only mentioned workaround doesn't apply to me as I am using the nvidia driver, not intel.
View 1 Replies
View Related
Jun 19, 2011
I need to create filename 70-android.rules in the directory /etc/udev/rules.d/I have Adm privileges in my user account properties, but when I use sudo to create this file the Ubuntu OS does not allow me the privilege... I am running Ubuntu 10.04 LTS and here's the Terminal output below:daddy@gatomon-laptop:/etc/udev/rules.d$ sudo cat > 70-android.rulesbash: 70-android.rules: Permission denieddaddy@gatomon-laptop:/etc/udev$ ls -ltotal 8drwxr-xr-x 2 root root 4096 2011-03-16 18:03 rules.d-rw-r--r-- 1 root root 218 2010-04-19 04:30 udev.conf
View 2 Replies
View Related
Jul 30, 2013
I just installed ufw and made some rules :-
Code: Select all$ sudo ufw enable
$ sudo ufw default deny
$ sudo ufw allow 80,443/tcp
Now this gives the following :-
Code: Select allRule added
Rule added (v6)
Now is there anyway to tell it to NOT add the v6 rules (of course over time v6 will become the new standard and I'll have to upgrade my router and all) but till my ISP doesn't I just want to make it easy for myself.
I could install gufw and just take that rule out but wanted to know if there was a way to do that via CLI .
View 6 Replies
View Related
Oct 4, 2010
I need to restart all the configuration of my ubuntu, that's because I ruine something in the configuration of Audio/Video, that's nobody can help me: URL...Then seems that I need to restart all the configuration, but I don't want to reinstall Ubuntu, because that I don't have a ISO of Lucid Lynx, only the ISO of Karmic Koala.
View 1 Replies
View Related
Dec 25, 2010
Still training with packaging. Here: [url]
I found the lintian reports about blackbox.
Most of them i could get sorted (via wild edits in the debian/{rules,control} files.
I am stuck at this error: [url]
I was told to read dh_link, but it doesn't say much.
My main problem is that i don't understand the rules file.
Hence a short question: If i got a rules which looks like this: #!/usr/bin/make -f
If i try it with gtk-theme-switch and with gtk2-engines-magicchicken i get syntax like the first example (blackbox -unedited,if i must i can replace it with the edited version), my working example-files use the syntax of the second example.
View 6 Replies
View Related
Feb 11, 2011
Since I have been using grub-legacy in quite an unorthodox manner, and ironically, getting benefits that an otherwise obedient user wouldn't even dream of getting, this question may, most probably, pose a challenge to all those who don't understand the filthy tricks of grub. So, here I am, trying to install grub, in a manner, that makes it independent of all operating systems on my computer. As I understand it, a bootloader is so important, especially when it is used to boot multiple OSs, that I deem it mandatory for it to be installed in a manner making it independent of all operating systems it is used for.
What I did till now:I have a 24 Mega Byte partition to which I copied /boot/grub/*I run the command: # grub-install --root-directory=/mounted-partition-holding-the-copied-files '(hd0)'Grub boots, but the menus are not displayed presenting me with a cute shell with limited commands. My next strategy in this battle, is to copy the device.map and grub.cfg files from a working installation - a sort of a heart transplant.
View 14 Replies
View Related
Aug 23, 2010
I'm trying to build the package "minitunes" [url] but when I attempt the code:
The build exits with the code dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
This actually happens when I try to build any package with "dh_make" so I'm wondering if it is because of my debian/rules file, which I'm not so certain how to edit.
What should actually be in such a file? I have mine posted below for the minitunes package debian/rules:
View 6 Replies
View Related
Oct 3, 2010
Everything was running fine, then I installed ardour (doesn't work, but that not what I am here for), I rebooted and now everything is in low res, and looks horrible, I tried uninstalled and re-installing the driver and that did nothing. When I go into the control panel for the video card I get:
You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.
View 7 Replies
View Related
Jan 15, 2011
I am having an issue with ubuntu that is driving me slowly mad. When I start the machine there are two keyboard configurations, USA and USA with dead keys, with the latter selected by default. When using punctuation marks I have to hit them twice otherwise they modify the letter I press next. To fix this I simply have to delete the USA with dead keys configuration. However, every time I restart the machine it is back.
Does anyone know why this might be happening? What is the configuration file that ubuntu loads for the keyboard? I am thinking maybe my user doesn't have permission to edit the config file and that is why the changes don't persist past restart. There were some other threads on here with a similar issue however in all of those cases I saw the fix was to make changes to some offending lines in the /etc/X11/xorg.conf. My xorg.conf however does not have a section for the keyboard.
I am running Ubuntu 10.10
View 2 Replies
View Related