Comments (7)
Can anyone please help me with this? I'm new at this. :)
from staticdhcpd.
Hey, sorry for the delay in getting back to you. I typed a response and got pulled away before hitting send. :(
(Thanks for the poke on my blog -- I would have forgotten otherwise)
I'm afraid I'll need a little more information to figure out what's going on here.
From the message and your pull-request, it looks like you've got an awkwardly formatted interface-name somewhere, but without seeing your config, it'll be hard to guess at what's happening.
Can you respond with whatever information you can share about your interface configuration in conf.py
and/or the output of ifconfig -a | grep Link
and ls -1 /sys/class/net/
? (You can obscure the MAC addresses if you consider those sensitive information)
It's entirely possible that I simply misunderstood something about how aliased interfaces show up in libc and I can verify that easily enough if what you have matches what I expect.
from staticdhcpd.
from staticdhcpd.
Sure, but I'll need some information to work with, like where in the process you've run into problems.
And I would like to resolve the issue that you first reported: what was the solution to your problem? Do I need to make any changes to the code?
from staticdhcpd.
i removed line 139 in File "/libpydhcpserver/getifaddrslib.py", line 139, in get_network_interface
return interface.split(':', 1)[0]
This solved issue for me :)
from staticdhcpd.
i ran into this error when i started server by executing "sudo python staticDHCPd"
from staticdhcpd.
#Copy this file to one of the following locations, then rename it to conf.py:
#/etc/staticDHCPd/, ./conf/
#For a full overview of what these parameters mean, and to further customise
#your system, please consult the configuration and scripting guides in the
#standard documentation
Whether to daemonise on startup (you don't want this during initial setup)
DAEMON = False
#WARNING: The default UID and GID are those of root. THIS IS NOT GOOD!
#If testing, set them to your id, which you can find using id
in a terminal.
#If going into production, if no standard exists in your environment, use the
#values of "nobody": id nobody
#The UID this server will use after initial setup
UID = 0
#The GID this server will use after initial setup
GID = 0
#The IP of the interface to use for DHCP traffic
DHCP_SERVER_IP = '192.168.1.1'
#The database-engine to use
#For details, see the configuration guide in the documentation.
DATABASE_ENGINE = 'SQLite'
SQLITE_FILE = '/home/saboor/staticdhcpd/staticDHCPd/dhcp.sqlite3'
from staticdhcpd.
Related Issues (20)
- PXE? HOT 6
- Support for relay agents requiring Option 82 HOT 2
- Publishing project to PIP? HOT 3
- support for Database INSERT for unknownMAC HOT 3
- IPv6 support? HOT 2
- How can I handleUnknownMAC? I want my server should allocate IP to the client even if mac address of client is not in INI or database. HOT 5
- Doesn't support python 3 (and doesn't document that) HOT 1
- Can staticdhcpd make a lease table from watching DHCP traffic? HOT 2
- adding extentions HOT 2
- TypeError: setsockopt() argument 3 must be string or read-only buffer, not None HOT 20
- staticDHCPd version 2.0.0-rc1 doesn't start HOT 3
- Cannot load mysql.sql on MariaDB 10.3.17 HOT 3
- Error in the rfc3925_125_decode function HOT 1
- dev null dup2 Bad file descriptor HOT 1
- Need to Port to Python3 HOT 22
- Documentation HOT 2
- DHCPRENEW support HOT 1
- Oracle database support is untested
- Errors in ver 3 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from staticdhcpd.