Debian Configuration :: Macchanger On Boot Not Working
Nov 12, 2015
I've installed macchanger and choosen the "run on boot" option. But it doesn't work.
Dump of /var/log/macchanger.log:
Code: Select alldisabled in /etc/default/macchanger
disabled in /etc/default/macchanger
disabled in /etc/default/macchanger
disabled in /etc/default/macchanger
disabled in /etc/default/macchanger
[Code] .....
If I change to ENABLE_ON_POST_UP_DOWN=true then I get this log-output after reboot:
Code: Select allIFACE = --all
/usr/bin/macchanger: unrecognized option '--all'
GNU MAC Changer
Usage: macchanger [options] device
[Code] ....
Report bugs to [URL] ....
Guess its some bug about the interface, but how do I change it?
I'm testing some settings on my network, so I'm using "macchanger" so I can change my MAC Address (Wlan0), it has always been working fine, but now, the mac changes, but after some time (say 20 mins) it suddenly changes again to the original one. This is happening in Ubuntu 10.10 because in 10.04 never happened before.
I'm using:
sudo ifconfig wlan0 down then: macchanger -m xxxx (some mac) wlan0 and finally: sudo ifconfig wlan0 up
I get the message that everything was ok and if I type ifconfig I can see the MAC I put on wlan0, but, like I say, after some short time and without me doing something, the MAC goes back to the original one.
However when I try to change the Mac Address's of either of these usb devices when only one is plugged in and in use at one time I cannot do it as the effects seem to not take place.
I have tried using cmd
Code: Select all  ifconfig wlan0 down   ifconfig wlan0 hw ether 00:00:11:11:00:00   ifconfig wlan0 up
and also editing /etc/network/interfaces file wlan0 entry
Code: Select all  iface wlan0 inet static       hwaddress ether 01:01:01:01:01:01       address 192.168.1.100       netmask 255.255.255.0
After doing this and running ifconfig I can see that either of the two USB'S device has the same MAC.
I have also tried rebooting the device but the mac address is the same.
I have heard there is a package called macchanger but I would like to do this without it, how could I go about doing this?
A week ago I opened this thread viewtopic.php?f=17&t=61580 in "Board index ‹ Help ‹ Installation" and asked for a moderator to move this to here. Because it hasnt happened up to know, I am reopening the thread here. It would be reeeeally great if somebody could help me with my problem!
I own two computers, one netbook and one laptop. I want to boot my netbook as a diskless client via PXE.I set up a dhcp-, tftp and nfs-server on my laptop but when i boot my netbook, the follwoing messages are displayed:(to make it more clear, i uploaded the whole output and shortened the output below)
I have just installed Ubuntu (/dev/sda7) and Debian (/dev/sda4), but since I have updated all informations on Ubuntu, then Debian did not appear anymore on the grub list. There is an wiki I have found, but I an not really sure about what to do.
Here are the boot informations: Boot Info Script 0.55 dated February 15th, 2010
Boot Info Summary:
=> Grub 2 is installed in the MBR of /dev/sda and looks at sector 488861020 of the same hard drive for core.img, core.img is at this location on /dev/sda and looks on partition #3 for (,gpt3)/grub.
[Code]...
ps: on this file, it says that the /boot is installed on the MBR and /dev/sda3. I will remove the boot from MBR as I am now using /dev/sda3 instead. Sorry for my english
Without going into a lot of the reasons, I have a bootable program on a USB stick that i would like to 'boot' when debian is starting up (or after it completes, or whenever it makes sense to do it). My MB does not support a USB boot, I've removed the floppy and CD so I can add additional HDs (its a small box but well ventilated).
Another option I have is to use my bios 'network boot' option, but I have no clue how to use it and the only description in the mb manual says "Allows system to be booted over a network" In network boots, *usually* one is given an option of specifying a device address, and the network boot executes a boot protocol (e.g. bootp), and the boot image file is downloaded to the target, stored and run out of RAM. No evidence of this behavior is exhibited when the network boot option is selected in the bios...
I know that boot partition is possible to create within debian distribution that has grub 2.0, as I have done before with ubuntu. I have been trying many different options with my preseed file but it keeps taking the boot partition out of LVM and creating and extended partition too and then creates the LVM primary partition.
### Partitioning. # you can specify a disk to partition. The device name can be given in either # devfs or traditional non-devfs format. For example, to use the first disk
I have install Debian 8.1.0 powerpc on a G5 2.0Ghz mac. It boots into a patchy square colour screen with no GUI. I am thinking there is a graphic driver problem so used (control +alt+f1) to enter the terminal and get the information below also tried to install nvidia-current but did not work. Have read that I need to blacklist nouveau drivers but don't know how this is done.
I'm trying to get nfs server working at boot up and it isn't starting because it says portmapper isn't running. I've read through a bunch of documentation on this and have gotten to the point that if the documentation tells me to Code: Select all$ apt-get install nfs-kernel-server portmap I usually stop there as it is outdated. I cant find a process doc that utilizes rpcbind. So, here is what I've done on my own:
setup /etc/exports with a proper nfs dir and exportfs it Code: Select all$ apt-get install nfs-common nfs-kernel-server $ sysv-rc-conf ---│ nfs-kerne$ [ ]   [X]   [X]   [X]   [X]   [ ]   [ ]   [ ]    │ ---│ rpcbind   [ ]   [X]   [X]   [X]   [X]   [ ]   [ ]   [ ]    │ $ service rpcbind start
[Code] ....
The errors however don't seem critical as I'm able to mount the exported directory. OK so it appears to me that nfs server is working. However through a boot, the nfs-kernel-server and the rpcbind services are not starting. The nfs-kernel-server didn't start because rpcbind wasn't running. So I start rpcbind and then nfs-kernel-server and then nfs server works. So what am I missing? Why will rpcbind not start at boot?
am not able to get internet working, am using debian testing. Dunno what is the issue. Here's the lowdown on /etc/network/interfaces :-
Code: Select all# This file describes the network interfaces available on your system# and how to activate them. For more information see interfaces (8)
#The loopback network interface auto lo iface lo inet loopback
auto eth0 allow-hotplug eth0 iface eth0 inet dhcp
I tried all the usual :- Code: Select all$ sudo dhclient (this usually worked/works) $ sudo ethtool eth0 $ sudo systemctl restart networking
I recently installed Debian 8 on my workstation , witch before ran ubuntu 15.04 , but after Debian 8 came, I have not succeeded running ssh with X11forwarding.
case is:
I have a server running ubuntu 14.04 , and when I login that server from my laptop ( also ubuntu 14.04 ), I have no problem getting x11forwarding working, but if I try login from my debian8 workstation, I'll get this error when trying to run xterm ( output is from ssh -X serverip )
connect /tmp/.X11-unix/X0: No such file or directory xterm: Xt error: Can't open display: localhost:12.0
a ls show that the file exsist
$ ls -la /tmp/.X11-unix/X0 srwxrwxrwx 1 root root 0 Aug 18 17:53 /tmp/.X11-unix/X0
In the servers sshd_config i have the following options enabled
X11Forwarding yes X11UseLocalhost yes ( i have tried both yes and no here ) X11DisplayOffset 12
and my ssh_config on my debian8 I have the following lines enabled
As I see it with a 'ssh -vv -X serverip' all x11 debug messeage i the same both on my working laptop , and nonworking are the same, and ~/.Xauthority get created on the server when i login
The following env variables are set when i log into the server from my laptop ( some var is omitted )
I am at a loss as to what to do to get Privoxy working. I have tried it using Ice Weasel and Konqueror and end up with the same problem: after I set the configuration in the browser, I cannot access anything on the internet.
i am running debian testing and the last few days i was trying to ssh to another pc on my network and i was getting an error like there was no machine with that ip! then i tried pinging to it with no luck! ARP was the only tool that returned the MAC address of the machine and that is strange i think. i realised then that i could only ping the gateway and localhost (127.0.0.1 not my ip). after editing my /etc/hosts, i could ping my ip as well. what is so wrong? here are some useful things:
my new /etc/hosts: jack@debian:~$ cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 debian.local debian
I work in a company and we have problems on our server so i decided to investigate. I found first that we don't have any ftp logs. We use vsftpd and i tried unsuccessfully to configure it to write the logs.
So here i am: - vsftpd doesn't have any logs (no vsftpd.log file in /var/log/)
I added the following lines in the vsftpd.conf : syslog_enable=YES log_ftp_protocol=YES xferlog_enable=YES vsftpd_log_file=/var/log/vsftpd.log
[Code]....
I also took a look at vsftpd process : it is owned by a user called "nobody" and a user called "www-data" when i upload or download files.
I would appear that I recently installed linux-image-2.6.32-5-amd64. Since then I have noted that my HP media bar up top doesn't work. This means I can't enable/disable wireless. From an lspci output, it still sees the hardware, and it's loaded, however, not functioning. Should I be looking at rolling the kernel back, or work on getting it working via some other means? Any liveCD I've tried doesn't seem to be able to get it going either. So I'm under the assumption here it is the kernel version, and not a hardware problem.
Also tried this to no avail: sudo apt-get install rfkill rmmod iwlagn rfkill block all rrfkill unblock all modprobe iwlagn rfkill unblock all ifconfig wlan0 up SIOCSIFFLAGS: Unknown error 132 rfkill list 2: phy2: Wireless LAN Soft blocked: no Hard blocked: yes
In a hp pavilion 15 Notebook PC with Debian 8.1.After two hours or so wifi stops working. Network-manager does not give any indication of failure but some times a yellow question mark.
rfkill list wifi gives: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no ifconfig gives: eth0 Link encap:Ethernet HWaddr 8c:dc:d4:7b:c2:0e UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:3994 errors:0 dropped:0 overruns:0 frame:0 TX packets:3661 errors:0 dropped:0 overruns:0 carrier:0
I am new to linux and decided to use Debian. I installed it on my laptop and have a few problems.First one is my WIFI.
Laptop type: HP Omen 15 Wifi adapter: Intel Wireless 7260n rfkill list output:0: hci0: Bluetooth Soft blocked: yes Hard blocked: no So wifi is not displaying Kernel: 3.16.0-4-amd64 Debian version: 8.4 gui: LXDE URL....
But they see in rfkill list the adapter.How to make this adapter work?I did this with no result:
nano /etc/modprobe.d/blacklist.conf in file add: #Fixing a bug that prevents wifi from working on HP Omen blacklist acer_wmi
I would like to learn more about Linux, but before experimenting I need a working system. The plan for me is to run this as my native machine with vms on top of it with other OS.
I don't print much, but tonight needed to print and found that none of the printers were listed in Okular or Openoffice, then when I tried to open Cups Administration http://localhost:631/ I got the error message Connection to Server Refused
I just did a regular install of debian lenny on a stand-alone machine. Now I want to add some new mp3-software. Debian doesn't like it if I install as root. A regular gets other negative results:
wlff@debian:~/My_Apps/mpg321-0.2.12-1$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... no checking for gawk... (cached) mawk checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. wlff@debian:~/My_Apps/mpg321-0.2.12-1$
I did find the GNU-compiler in /usr/lib/gcc. So what could be wrong with gcc, and what about gawk, cc and cl?
The computer networking works fine with a normal static setup, but adding a USB wireless device is not successful. It is my own network so the wpa-ssid and wpa-psk are known to work with Lenny and a previous wireless device.The device is recognized (lsusb) and the driver is confirmed to be in the kernel (lsmod). Here is the iwconfig output:
wlan0 IEEE 802.11bgn ESSID:off/any Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off
After typing: ifconfig wlan0 192.168.1.144 up I can ping that address, but it is not working. I have just done a fresh install of Sid so that I could get the 2.6.35 kernel which contains the ath9k_htc driver for the USB wireless device that I am using. The firmware is ar9271.fw but my source of that is questionable because it does not seem readily available. I am temporarily using a PCMCIA wired connection which is what I am using to connect to the computer via telnet. (This is just for convenience so as to avoid getting up all the time.) Here is the ifconfig output:
I am moving over to debian from ubuntu, and the latest install is to an acer aspire one netbook, the wireless card seems to be working and I can see available networks and even connect to mine (with WPA encryption) via the gnome network manager, however opening a browser or pinging both local and external machines all fail. its as if the OS does not not know to use the card. The wired works fine.
If memory serves the card is identified by lspci as Atheros AR5007.
There is no reference to wlan0 in etc/network/interfaces.
I do not have that system on now and have to leave for work, but I can post any further info from conf files etc as required when i get home tonight... Just thought I'd post a quick description in case I'm missing something obvious...
About an hour ago i did an update on my Debian Squeeze. After the update was completed my LAN connection stopped working.. now i have to connect my computer to my router with a usb cable instead with my ethernet cable.. also, on the network connection, on the wired network section it says that the device(ethernet) has not been managed..
I'm running Debian sid and currently have xfce 4.8.0 installed. I have the thunar-volman package and it is configured to automount everything (cdrom & usb). I have hal, udev, gamin and autofs installed as well.For some reason though, automount just isn't working. It's starting to annoy me.I can mount the devices manually.I looked around already but most posts just advise you to install hal or something.
my debian laptop this morning ,saw that the update manager had updates..97 of them??? then when tried to view them the package manager freezes and becomes unresponsive. needed to do a few things and found my root password is NOT working. this all happened at the same time, i wonder if its related? have i been hacked? is this something new? cant reset root password (tried two methodeds with no luck) and cant view the updates altho i question 97 new updates are needed.