SrivamsiMalladi commented on issue #7193:
URL: 
https://github.com/apache/incubator-nuttx/issues/7193#issuecomment-1282195936

   I also tried changing the ip address from 10.0.0.1 (0x0a000001) to 
192.168.1.1 (0xc0a80101) by making the following changes in the `config.h`
   
   ```
   #define CONFIG_NETUTILS_DHCPD_STARTIP 0xC0A80102
   #define CONFIG_NETUTILS_DHCPD_ROUTERIP 0xC0A80101
   ```
   
   With the above changes, I flashed the sta_softap config and did ifconfig.
   ```
   nsh> ifconfig
   wlan0   Link encap:Ethernet HWaddr 24:62:ab:d1:ef:30 at DOWN
           inet addr:0.0.0.0 DRaddr:0.0.0.0 Mask:0.0.0.0
   
   wlan1   Link encap:Ethernet HWaddr 26:62:ab:d1:ef:30 at DOWN
           inet addr:0.0.0.0 DRaddr:0.0.0.0 Mask:0.0.0.0
   
   nsh> dhcpd_start wlan1
   nsh> ifconfig
   wlan0   Link encap:Ethernet HWaddr 24:62:ab:d1:ef:30 at DOWN
           inet addr:0.0.0.0 DRaddr:0.0.0.0 Mask:0.0.0.0
   
   wlan1   Link encap:Ethernet HWaddr 26:62:ab:d1:ef:30 at UP
           inet addr:192.168.1.1 DRaddr:192.168.1.1 Mask:255.255.255.0
   ```
   
   Connected to the nuttxap network from Ubuntu system and 192.168.1.2 got 
assigned to the ubuntu system.
   Tried to connect to the nuttxap network from Android smartphone, I get a 
prompt saying "Couldn't connect to the network".
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to