Bad File Descriptor Windows 3,7/5 5887 reviews
Active8 months ago

I had successful connections from my main workstation PC (which uses Fedora 29 Workstation) to my mother's laptop (Windows 7 HP) network share few times using mount.cifs, but since not too long it has become impossible for me to do it.

For example, using Nautilus, connecting to smb://192.168.0.2/Data asks for a credentials (although it should be stored permanently for this share already), and even when you enter a correct username and password, it does nothing but just prompts for how to login again.

Yes, it's entirely possible that you have to use HTTP. It's actually pretty unusual for a link to work with both protocols. Also, to do the levels-of-links thing, you have to have an HTML page to. If corrupted file is causing Bad File Descriptor in VLC, you will have to Check Faulty Drives with Chkdsk for errors. Before that, give an attempt to open the file through Windows Media Player, as it is built-in application and work smoothly.

Using mount -t cifs was also successful in the past but not anymore, since it returns an error as following:

Samsung galaxy s8 active usb driver. dmesg isn't also very helpful on its' side:

Specifying the PC name and/or removing any or all of options does not help in any way.

Ruslan Nigmatyanov
Ruslan NigmatyanovRuslan Nigmatyanov

1 Answer

Edit: someone from the community has noticed that official update fixing the problem has been released; this link provides a solution:

Microsoft released the Update KB4487345 to fix the issue:

This update resolves the issue where local users who are part of the local “Administrators“ group may not be able to remotely access shares on Windows 7 SP1 and Windows Server 2008 R2 machines after installing the January 8th, 2019 security updates. This does not affect domain accounts in the local 'Administrators' group.

So download and install the update by doing a double click on the msu file.


Not the answer you're looking for? Browse other questions tagged linuxwindowssambamountcifs or ask your own question.

Join GitHub today

GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Sign up New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments

commented Dec 20, 2016

Bad File Descriptor Windows 7

Traceback (most recent call last):
File '<pyshell#2>', line 1, in
ans, unans=srp(Ether(dst='FF:FF:FF:FF:FF:FF')/ARP(pdst=lan),timeout=2)
File 'D:Python27libsite-packagesscapysendrecv.py', line 383, in srp
a,b=sndrcv(s ,x,*args,**kargs)
File 'D:Python27libsite-packagesscapyarchwindowscompatibility.py', line # 128, in sndrcv
os.write(# 1, '.')

what it means? '1' indicates ???

commented Dec 20, 2016

Traceback (most recent call last):
File '<pyshell#2>', line 1, in
ans, unans=srp(Ether(dst='FF:FF:FF:FF:FF:FF')/ARP(pdst=lan),timeout=2)
File 'D:Python27libsite-packagesscapysendrecv.py', line 383, in srp
a,b=sndrcv(s ,x,*args,**kargs)
File 'D:Python27libsite-packagesscapyarchwindowscompatibility.py', line 128, in sndrcv
os.write(1, '.')

commented Dec 20, 2016

Which version of Scapy are you using?

commented Dec 20, 2016

@whxloveyrh Please check that you have installed pyreadline.

commented Dec 21, 2016
edited

Traceback (most recent call last):
File 'D:Python27libsite-packagesscapysendrecv.py', line 383, in srp
a,b=sndrcv(s ,x,*args,**kargs)
File 'D:Python27libsite-packagesscapyarchwindowscompatibility.py', line 123, in sndrcv
os.write(1, '.')

$pip list
pyreadline (2.1)
scapy (2.3.2)
pcapy (0.10.10)

commented Dec 21, 2016
edited

my python program can run on console, but can't run on python GUI!!!!!
for example:

lan = '10.10.10.0/24'
ans, unans = srp(Ether(dst='FF:FF:FF:FF:FF:FF') / ARP(pdst=lan), timeout=2)

If I add the codes to a python file ,then to run the python file . I can find a error information. but if I direct run the codes, it's right.

why ?

commented Dec 21, 2016
edited

pyreadline (2.1)
scapy (2.3.2)

First, please update your scapy version to 2.3.3-dev

  • download it from github and run python setup.py install

Then running python from python GUI is tough, because python close instantly once the programm is finished. You won't actually have time to read the error codes.
So your programm crashes, that's why you cannot run it from Python GUI.

commented Jan 11, 2017

@p-l- That can be closed..

closed this Jan 11, 2017

commented Oct 25, 2017

@p-l- This problem still exists in 2.3.3.. I changed that line to:
sys.stderr.write('*')
Which sounds more portable and works in IDLE.

Bad File Descriptor Mac

commented Oct 25, 2017

@michaelharo You should retry using the latest dev version:
https://github.com/secdev/scapy/archive/master.zip

commented Dec 11, 2017

Don't run scapy program in IDLE editor.

commented Dec 11, 2017

Bad File Descriptor Python

As an update: this thread is outdated. Current scapy dev version has dropped pyreadline to ipython

Bad File Descriptor Windows 7

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Coments are closed
Scroll to top