[SOLVED] How to modify DHCP on 4g dongle D-Link DWM-221?

Oct 9, 2020
2
0
10
Hi all


I got the USB 4g dongle D-LINK DWM-221 and would like to know how can I change its DHCP?

I called D-LINK company and they said there is no way to change and it got only 1 fixed IP.

But actually I dont belive, should have anyway to change it.

Does anybody know how can I access the hardware by any hack and change this information?


Cheers


Kelson
 
Solution
in order for the device to connect to the network it has to have an ip address. the company that provides the data service for you has set the ip for you and it can't be changed.

even if you managed to change it, you would then not be able to connect to the data network and will have made the dongle useless.

what are you trying to accomplish? perhaps there is something you can do that you do not know about. but lots more info is needed such as what service is this connecting to? why you think you want to change the ip? what you hope it accomplishes? and anything else relevant you can provide for us.

by the way dhcp is how a network automatically assigns ip addresses to devices when they connect to the network. it is not stored...
in order for the device to connect to the network it has to have an ip address. the company that provides the data service for you has set the ip for you and it can't be changed.

even if you managed to change it, you would then not be able to connect to the data network and will have made the dongle useless.

what are you trying to accomplish? perhaps there is something you can do that you do not know about. but lots more info is needed such as what service is this connecting to? why you think you want to change the ip? what you hope it accomplishes? and anything else relevant you can provide for us.

by the way dhcp is how a network automatically assigns ip addresses to devices when they connect to the network. it is not stored on the device but rather is handled on the other end at the server level. you can do nothing to change dhcp settings unless you can log into the server and adjust things, which of course you can't. the only thing you can do is set a static ip (if the device is able to do it) but as noted above that would likely not allow you to connect to their network if you do manage to change the ip
 
Solution
Right, I got the point.
Basically I want to create my own proxy network and for that am using raspberry Pi3b and 4 x dongles DWM-221. From some research I did, as i gonna use all 4 dongles connected to the rasp in a usb hub, each one should have different id, so I would like to set DHCP like:

d1 = 192.168.1.1
d2 = 192.168.2.1
d3 = 192.168.3.1
d4 = 192.168.4.1

Any idea how to do that?
tks
 
the dongles themselves have to have ip's set by the service since that is the source of the internet access. the pi's themselves can be set to whatever ip scheme you feel like. it looks like you want 4 subnets anyway but want to control the ip's. other than simplicity of the diagram there is no difference to a pretty scheme vs just using the dongle's given address.

the 4 dongles will act as 4 separate networks since they will each have their own connection to the web. you can't combine them together to make a single network like you are thinking. at ;east that is how i am reading what i believe you want to do and i don't think it is possible.

everything behind each individual dingle is a new network and will not be able to talk to each other except through the web as they won't be on the same network domain. you can use one dongle and create as complex of a network as you wish but you can't combine them together into one network.

i am going to seek other opinions here in case there is something i don't know yet but i am pretty sure i am right. though i am not opposed to being wrong if i am :)